aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-02-17 23:18:23 +0100
committerSebastien Bacher <seb128@ubuntu.com>2010-02-17 23:18:23 +0100
commit2ac753356ff14b8c17b44f919d73d0039d89742a (patch)
tree1d0a13b1a3e09eb0604e963bec5d8c43fee083d4 /src/libappindicator
parent60b206c8ce2e5393029765f7c6a93b36f47acfd7 (diff)
downloadlibayatana-appindicator-2ac753356ff14b8c17b44f919d73d0039d89742a.tar.gz
libayatana-appindicator-2ac753356ff14b8c17b44f919d73d0039d89742a.tar.bz2
libayatana-appindicator-2ac753356ff14b8c17b44f919d73d0039d89742a.zip
releasing version 0.0.13-0ubuntu40.0.13-0ubuntu4
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 0324a34..bb3c71f 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -141,6 +141,7 @@ static void status_icon_changes (AppIndicator * self, gpointer data);
static void status_icon_activate (GtkStatusIcon * icon, gpointer data);
static void unfallback (AppIndicator * self, GtkStatusIcon * status_icon);
static void watcher_proxy_destroyed (GObject * object, gpointer data);
+static void client_menu_changed (GtkWidget *widget, GtkWidget *child, AppIndicator *indicator);
/* GObject type */
G_DEFINE_TYPE (AppIndicator, app_indicator, G_TYPE_OBJECT);
@@ -364,7 +365,10 @@ app_indicator_dispose (GObject *object)
}
if (priv->menu != NULL) {
- g_object_unref(G_OBJECT(priv->menu));
+ g_signal_handlers_disconnect_by_func (G_OBJECT (priv->menu),
+ client_menu_changed,
+ self);
+ g_object_unref(G_OBJECT(priv->menu));
priv->menu = NULL;
}