diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-08-09 15:17:18 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-08-09 15:17:18 +0100 |
commit | 453ae0319471312a2d17cb9be1c197971c20dc44 (patch) | |
tree | 5870a50c229786a5abfd861f44be2ec3df210f6a | |
parent | e264589f13695d55955dbe8ddb8a2743bde034d8 (diff) | |
download | libgdata-453ae0319471312a2d17cb9be1c197971c20dc44.tar.gz |
app: Add g_autoptr() support to all the gdata/app classes
Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r-- | gdata/app/gdata-app-categories.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdata/app/gdata-app-categories.h b/gdata/app/gdata-app-categories.h index 48ec77bf..cf2f54bb 100644 --- a/gdata/app/gdata-app-categories.h +++ b/gdata/app/gdata-app-categories.h @@ -67,6 +67,7 @@ typedef struct { } GDataAPPCategoriesClass; GType gdata_app_categories_get_type (void) G_GNUC_CONST; +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GDataAPPCategories, g_object_unref) GList *gdata_app_categories_get_categories (GDataAPPCategories *self) G_GNUC_PURE; gboolean gdata_app_categories_is_fixed (GDataAPPCategories *self) G_GNUC_PURE; |