[gnome-control-center] background: Fix crasher when entering/leaving the background panel



commit a8b83d706bb748af992991366fe9f2a5b3422ace
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Sep 12 15:51:52 2013 -0400

    background: Fix crasher when entering/leaving the background panel
    
    g_application_get_dbus_connection() does not return a ref, so we
    shouldn't try to free it.

 panels/background/cc-background-panel.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index f2a046c..1148b80 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -123,8 +123,6 @@ cc_background_panel_dispose (GObject *object)
 
   g_clear_pointer (&priv->screenshot_path, g_free);
 
-  g_clear_object (&priv->connection);
-
   G_OBJECT_CLASS (cc_background_panel_parent_class)->dispose (object);
 }
 


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