diff options
author | Yi-Soo An <yisooan@gmail.com> | 2018-07-12 16:41:06 +0900 |
---|---|---|
committer | Victor Toso <me@victortoso.com> | 2018-07-13 11:46:36 +0200 |
commit | 18ae3196dff76711f30c131d25ede2b5ccee4bb1 (patch) | |
tree | 28b2fe0aec019ab39cdd47980b66609db67b2fa0 | |
parent | 6b49c5e9b16309ce99d1f4d72e09ffb3acf3cc72 (diff) | |
download | grilo-18ae3196dff76711f30c131d25ede2b5ccee4bb1.tar.gz |
net-wc: 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-- | libs/net/grl-net-wc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/net/grl-net-wc.h b/libs/net/grl-net-wc.h index 00866bd..e8da707 100644 --- a/libs/net/grl-net-wc.h +++ b/libs/net/grl-net-wc.h @@ -86,6 +86,8 @@ typedef struct _GrlNetWc GrlNetWc; typedef struct _GrlNetWcClass GrlNetWcClass; typedef struct _GrlNetWcPrivate GrlNetWcPrivate; +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrlNetWc, g_object_unref) + /** * GrlNetWc: * @parent: the parent object struct |