manager: fix crash when applets exit

Due to bad refcounting of D-Bus proxies of the connections applets
expose.
This commit is contained in:
Dan Winship 2009-07-30 09:27:21 -04:00 committed by Dan Williams
parent e5347169f6
commit e4d03e1f9d

View file

@ -638,8 +638,8 @@ user_connection_get_settings_cb (DBusGProxy *proxy,
*/
g_object_set_data_full (G_OBJECT (connection),
"proxy",
info->proxy,
g_object_ref (info->proxy));
g_object_ref (info->proxy),
g_object_unref);
} else
g_object_unref (connection);