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.
This commit is contained in:
Jasper St. Pierre 2013-09-12 15:51:52 -04:00
parent d6c8972f4d
commit a8b83d706b

View file

@ -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);
}