[gnome-control-center] Revert "online-accounts: Fix crash after aborting web view ..."



commit 115a1323b4200aaa8b44ed174f66829273333e19
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Aug 17 21:22:18 2017 +0200

    Revert "online-accounts: Fix crash after aborting web view ..."
    
    I pushed it by mistake. The GtkDialog needs to be destroyed in
    dispose, not finalize.
    
    This reverts commit 60cf7f6b2703e3e89aedac0684ab0e7ae09ce86e.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782043

 panels/online-accounts/cc-online-accounts-panel.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c 
b/panels/online-accounts/cc-online-accounts-panel.c
index 00fc7a4..04063d8 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -388,7 +388,6 @@ cc_goa_panel_finalize (GObject *object)
   CcGoaPanel *panel = CC_GOA_PANEL (object);
 
   g_clear_object (&panel->client);
-  g_clear_pointer (&panel->edit_account_dialog, gtk_widget_destroy);
 
   G_OBJECT_CLASS (cc_goa_panel_parent_class)->finalize (object);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]