summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYi-Soo An <yisooan@gmail.com>2018-07-11 14:57:35 +0900
committerVictor Toso <me@victortoso.com>2018-07-13 11:46:36 +0200
commit97da2d3aa924df4c98429a4dbf42ac0856866413 (patch)
tree5bb7c4fe9c13907486075f53907267bb09f08246 /src
parentaa44edd82f0c2960173a7cfaf4a4f2c1b52b64cf (diff)
downloadgrilo-97da2d3aa924df4c98429a4dbf42ac0856866413.tar.gz
data: Add G_DEFINE_AUTOPTR_CLEANUP_FUNC
To support g_autoptr, it is added. https://gitlab.gnome.org/GNOME/grilo/merge_requests/10
Diffstat (limited to 'src')
-rw-r--r--src/data/grl-data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/grl-data.h b/src/data/grl-data.h
index be61b56..ae95d99 100644
--- a/src/data/grl-data.h
+++ b/src/data/grl-data.h
@@ -66,6 +66,8 @@ typedef struct _GrlData GrlData;
typedef struct _GrlDataClass GrlDataClass;
typedef struct _GrlDataPrivate GrlDataPrivate;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrlData, g_object_unref)
+
struct _GrlData
{
GObject parent;