aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorCody Russell <cody.russell@canonical.com>2010-01-19 11:45:39 -0600
committerTed Gould <ted@gould.cx>2010-01-19 11:45:39 -0600
commit0b8b85b8c036b1cd78f62a9bd8db70458b65801d (patch)
treeec6def9cb20e6edbbdf9db7855bc23f78b3cd519 /src/libappindicator
parentf0104e11357b5804aea2ecead13f99231b671a75 (diff)
parente9fafdfa046eda4da67357ebfc02f48159403f8d (diff)
downloadlibayatana-appindicator-0b8b85b8c036b1cd78f62a9bd8db70458b65801d.tar.gz
libayatana-appindicator-0b8b85b8c036b1cd78f62a9bd8db70458b65801d.tar.bz2
libayatana-appindicator-0b8b85b8c036b1cd78f62a9bd8db70458b65801d.zip
Handling duplication applications getting added.
Diffstat (limited to 'src/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 6c969c2..7fabef9 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -370,6 +370,10 @@ app_indicator_dispose (GObject *object)
priv->menu = NULL;
}
+ if (priv->menuservice != NULL) {
+ g_object_unref (priv->menuservice);
+ }
+
if (priv->dbus_proxy != NULL) {
g_object_unref(G_OBJECT(priv->dbus_proxy));
priv->dbus_proxy = NULL;