diff options
author | Yi-Soo An <yisooan@gmail.com> | 2018-07-12 15:31:45 +0900 |
---|---|---|
committer | Victor Toso <me@victortoso.com> | 2018-07-13 11:46:36 +0200 |
commit | 6b49c5e9b16309ce99d1f4d72e09ffb3acf3cc72 (patch) | |
tree | 52ae87f54c6568e7916a8b1550d8c7121d1ef17f | |
parent | e1a8991e0ff6c011b1b6fcad93f772674afeab6e (diff) | |
download | grilo-6b49c5e9b16309ce99d1f4d72e09ffb3acf3cc72.tar.gz |
plugin: Add G_DEFINE_AUTOPTR_CLEANUP_FUNC
To support g_autoptr, it is added.
https://gitlab.gnome.org/GNOME/grilo/merge_requests/10
-rw-r--r-- | src/grl-plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grl-plugin.h b/src/grl-plugin.h index 5273d6e..ee81bcd 100644 --- a/src/grl-plugin.h +++ b/src/grl-plugin.h @@ -75,6 +75,8 @@ typedef struct _GrlPlugin GrlPlugin; typedef struct _GrlPluginPrivate GrlPluginPrivate; +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrlPlugin, g_object_unref) + struct _GrlPlugin { GObject parent; |