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



commit 54d2c4a1742081acf2a91ce69ee879e235ac8f77
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 0609697..b0c75b2 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -120,8 +120,6 @@ cc_background_panel_dispose (GObject *object)
   g_free (priv->screenshot_path);
   priv->screenshot_path = NULL;
 
-  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]