diff options
Diffstat (limited to 'demos/docs-property/docs-property.c')
-rw-r--r-- | demos/docs-property/docs-property.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/docs-property/docs-property.c b/demos/docs-property/docs-property.c index b1586141..d4b8f30f 100644 --- a/demos/docs-property/docs-property.c +++ b/demos/docs-property/docs-property.c @@ -42,12 +42,16 @@ static gboolean is_owner (GDataService *service, GDataEntry *entry); static void test_dummy_properties (GDataDocumentsService *service, gboolean set, GCancellable *cancellable, GError **error); +/* FIXME: Work around https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/73 */ +typedef GoaObject AutoGoaObject; +G_DEFINE_AUTOPTR_CLEANUP_FUNC(AutoGoaObject, g_object_unref) + gint main (void) { g_autoptr(GDataDocumentsService) service = NULL; g_autoptr(GError) error = NULL; - g_autolist(GoaObject) accounts = NULL; + g_autolist(AutoGoaObject) accounts = NULL; GList *l = NULL; g_autoptr(GoaClient) client = NULL; gint retval = 0; |