aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-07-08 12:34:24 -0500
committerTed Gould <ted@gould.cx>2010-07-08 12:34:24 -0500
commit647f8ea91cc304a0b14a255fcd07560046735eac (patch)
treeebadbb23aab7e66144b0d637596e6f47e5fc3142
parent974328f02da5a9c37f3f1e42db5794eb88c5e8ba (diff)
downloadlibayatana-indicator-647f8ea91cc304a0b14a255fcd07560046735eac.tar.gz
libayatana-indicator-647f8ea91cc304a0b14a255fcd07560046735eac.tar.bz2
libayatana-indicator-647f8ea91cc304a0b14a255fcd07560046735eac.zip
Use the same function so we know everything is all right.
-rw-r--r--libindicator/indicator-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-service.c b/libindicator/indicator-service.c
index a2aea24..7c5826e 100644
--- a/libindicator/indicator-service.c
+++ b/libindicator/indicator-service.c
@@ -468,7 +468,7 @@ unwatch_core (IndicatorService * service, const gchar * name)
gpointer watcher_item = g_hash_table_lookup(priv->watchers, name);
if (watcher_item != NULL) {
/* Free the watcher */
- g_signal_handlers_disconnect_by_func(G_OBJECT(watcher_item), G_CALLBACK(proxy_destroyed), service);
+ watchers_remove((gpointer)name, watcher_item, service);
g_hash_table_remove(priv->watchers, name);
} else {
/* Odd that we couldn't find the person, but, eh */