From a8b83d706bb748af992991366fe9f2a5b3422ace Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 12 Sep 2013 15:51:52 -0400 Subject: [PATCH] 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 file changed, 2 deletions(-) diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c index f2a046cfc..1148b8032 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); }