diff options
author | Ryan Lortie <desrt@desrt.ca> | 2015-01-30 15:21:20 +0100 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2015-01-30 16:58:40 +0100 |
commit | e2f8afdd85c18c6eea4ce42b0c9dad2cdbfc9b3e (patch) | |
tree | 18e69708b531d8c9fec097552e26abce75a10c42 /gio/gunixfdlist.h | |
parent | 8ea414c8c6c40e208ebe4a9fdd41c7abdb05c392 (diff) | |
download | glib-e2f8afdd85c18c6eea4ce42b0c9dad2cdbfc9b3e.tar.gz |
gio: add support for g_auto() and g_autoptr()
Add support to libgio types for the new cleanup macros.
https://bugzilla.gnome.org/show_bug.cgi?id=743640
Diffstat (limited to 'gio/gunixfdlist.h')
-rw-r--r-- | gio/gunixfdlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gunixfdlist.h b/gio/gunixfdlist.h index 6b1c38307..d159dbb57 100644 --- a/gio/gunixfdlist.h +++ b/gio/gunixfdlist.h @@ -36,6 +36,7 @@ G_BEGIN_DECLS G_TYPE_UNIX_FD_LIST)) #define G_UNIX_FD_LIST_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ G_TYPE_UNIX_FD_LIST, GUnixFDListClass)) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixFDList, g_object_unref) typedef struct _GUnixFDListPrivate GUnixFDListPrivate; typedef struct _GUnixFDListClass GUnixFDListClass; |