source-dialog: Don't use g_autolist

Chaos ensues with it.
This commit is contained in:
Georges Basile Stavracas Neto
2019-04-29 17:13:30 -03:00
parent d6c5bf032d
commit b8c80e08e8
+3 -1
View File
@@ -2037,7 +2037,7 @@ goa_account_removed_cb (GoaClient *client,
static void
setup_context (GcalSourceDialog *self)
{
g_autolist (GoaAccount) accounts = NULL;
GList *accounts = NULL;
GcalManager *manager;
GoaClient *client;
GList *l;
@@ -2059,6 +2059,8 @@ setup_context (GcalSourceDialog *self)
g_signal_connect (manager, "source-added", G_CALLBACK (add_source), self);
g_signal_connect (manager, "source-removed", G_CALLBACK (remove_source), self);
g_list_free_full (accounts, g_object_unref);
GCAL_EXIT;
}