diff options
author | Ted Gould <ted@gould.cx> | 2009-12-03 15:15:34 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-03 15:15:34 -0600 |
commit | ea29a8effb3c9ebcb7d2f469add8eaff462d29c5 (patch) | |
tree | cd440b2fda5d3a33778d70f5c3f6fa2f6e58305c | |
parent | 8331ee5c19c33130e574a2c9785e6caad806dfe2 (diff) | |
download | libayatana-indicator-ea29a8effb3c9ebcb7d2f469add8eaff462d29c5.tar.gz libayatana-indicator-ea29a8effb3c9ebcb7d2f469add8eaff462d29c5.tar.bz2 libayatana-indicator-ea29a8effb3c9ebcb7d2f469add8eaff462d29c5.zip |
Adding a weak pointer to the service proxy.
-rw-r--r-- | libindicator/indicator-service-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c index db31aff..a3680c4 100644 --- a/libindicator/indicator-service-manager.c +++ b/libindicator/indicator-service-manager.c @@ -309,6 +309,7 @@ start_service_cb (DBusGProxy * proxy, guint status, GError * error, gpointer use INDICATOR_SERVICE_OBJECT, INDICATOR_SERVICE_INTERFACE, &error); + g_object_add_weak_pointer(G_OBJECT(priv->service_proxy), (gpointer *)&(priv->service_proxy)); org_ayatana_indicator_service_watch_async(priv->service_proxy, watch_cb, |