diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-29 22:47:49 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-10-19 11:21:55 +0200 |
commit | 2534c42223a8a3cc7e5deaeaa81a637fc9ebcbaf (patch) | |
tree | 4c280a05059f0fdf85d517e9cf6685a0532c3581 | |
parent | 3d88ab39afd3f62f9802d005b36f91ef138554e5 (diff) | |
download | gnome-control-center-2534c42223a8a3cc7e5deaeaa81a637fc9ebcbaf.tar.gz |
online-accounts: Remove unused private member
This fixes this leak:
==21491== 384 (40 direct, 344 indirect) bytes in 1 blocks are definitely lost in loss record 18,518 of 19,643
==21491== at 0x8792D3A: g_type_create_instance (gtype.c:1848)
==21491== by 0x8779AC5: g_object_new_internal (gobject.c:1774)
==21491== by 0x8779FD4: g_object_newv (gobject.c:1921)
==21491== by 0x8779676: g_object_new (gobject.c:1614)
==21491== by 0x747DFFC: gtk_list_store_new (gtkliststore.c:424)
==21491== by 0x49C781: goa_panel_add_account_dialog_init (cc-online-accounts-add-account-dialog.c:300)
==21491== by 0x8792E7D: g_type_create_instance (gtype.c:1870)
==21491== by 0x8779AC5: g_object_new_internal (gobject.c:1774)
==21491== by 0x877A71A: g_object_new_valist (gobject.c:2033)
==21491== by 0x87796C5: g_object_new (gobject.c:1617)
==21491== by 0x49CC26: goa_panel_add_account_dialog_new (cc-online-accounts-add-account-dialog.c:380)
==21491== by 0x49B162: get_all_providers_cb (cc-online-accounts-panel.c:701)
==21491== by 0x8426107: g_simple_async_result_complete (gsimpleasyncresult.c:801)
==21491== by 0x8426153: complete_in_idle_cb (gsimpleasyncresult.c:813)
==21491== by 0x8A0C470: g_idle_dispatch (gmain.c:5397)
==21491== by 0x8A09AB8: g_main_dispatch (gmain.c:3122)
==21491== by 0x8A0A8FC: g_main_context_dispatch (gmain.c:3737)
==21491== by 0x8A0AAE0: g_main_context_iterate (gmain.c:3808)
==21491== by 0x8A0ABA4: g_main_context_iteration (gmain.c:3869)
==21491== by 0x846EE55: g_application_run (gapplication.c:2311)
==21491== by 0x44CA4B: main (main.c:57)
https://bugzilla.gnome.org/show_bug.cgi?id=756762
-rw-r--r-- | panels/online-accounts/cc-online-accounts-add-account-dialog.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/panels/online-accounts/cc-online-accounts-add-account-dialog.c b/panels/online-accounts/cc-online-accounts-add-account-dialog.c index cbc69532c..16f477d4b 100644 --- a/panels/online-accounts/cc-online-accounts-add-account-dialog.c +++ b/panels/online-accounts/cc-online-accounts-add-account-dialog.c @@ -43,7 +43,6 @@ struct _GoaPanelAddAccountDialogPrivate GoaClient *client; GoaObject *object; GoaProvider *provider; - GtkListStore *list_store; GtkWidget *contacts_grid; GtkWidget *mail_grid; GtkWidget *chat_grid; @@ -297,8 +296,6 @@ goa_panel_add_account_dialog_init (GoaPanelAddAccountDialog *add_account) gtk_grid_set_row_spacing (GTK_GRID (grid), 12); gtk_container_add (GTK_CONTAINER (vbox), grid); - priv->list_store = gtk_list_store_new (N_COLUMNS, GOA_TYPE_PROVIDER, G_TYPE_ICON, G_TYPE_STRING); - priv->stack = gtk_stack_new (); gtk_stack_set_transition_type (GTK_STACK (priv->stack), GTK_STACK_TRANSITION_TYPE_CROSSFADE); gtk_container_add (GTK_CONTAINER (grid), priv->stack); |