[libgdata] app: Add g_autoptr() support to all the gdata/app classes
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] app: Add g_autoptr() support to all the gdata/app classes
- Date: Wed, 9 Aug 2017 14:18:02 +0000 (UTC)
commit 453ae0319471312a2d17cb9be1c197971c20dc44
Author: Philip Withnall <withnall endlessm com>
Date: Wed Aug 9 15:17:18 2017 +0100
app: Add g_autoptr() support to all the gdata/app classes
Signed-off-by: Philip Withnall <withnall endlessm com>
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 48ec77b..cf2f54b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]