diff options
author | Yi-Soo An <yisooan@gmail.com> | 2018-07-11 14:57:35 +0900 |
---|---|---|
committer | Victor Toso <me@victortoso.com> | 2018-07-13 11:46:36 +0200 |
commit | 97da2d3aa924df4c98429a4dbf42ac0856866413 (patch) | |
tree | 5bb7c4fe9c13907486075f53907267bb09f08246 /src | |
parent | aa44edd82f0c2960173a7cfaf4a4f2c1b52b64cf (diff) | |
download | grilo-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.h | 2 |
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; |