ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #02214
[Merge] lp:~ted/libindicate/rb-crash into lp:libindicate
Ted Gould has proposed merging lp:~ted/libindicate/rb-crash into lp:libindicate.
Requested reviews:
Indicator Applet Developers (indicator-applet-developers)
Unreferences the proxy object on dispose so that we don't get any more signals from it.
--
https://code.launchpad.net/~ted/libindicate/rb-crash/+merge/34560
Your team ayatana-commits is subscribed to branch lp:libindicate.
=== modified file 'libindicate/server.c'
--- libindicate/server.c 2010-02-18 22:02:35 +0000
+++ libindicate/server.c 2010-09-03 17:54:39 +0000
@@ -435,6 +435,11 @@
g_signal_emit(server, signals[SERVER_HIDE], 0, priv->type ? priv->type : "", TRUE);
}
+ if (priv->dbus_proxy != NULL) {
+ g_object_unref(priv->dbus_proxy);
+ priv->dbus_proxy = NULL;
+ }
+
return;
}
Follow ups