aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-01-14 20:27:28 -0600
committerCody Russell <crussell@canonical.com>2010-01-14 20:27:28 -0600
commitabd499aaeb280ef2ab24f4e392484ecd4d8bb7a2 (patch)
treef76bedbff6fe9877fafa8a4325328d444ef1fb6f /src/libappindicator
parentf0104e11357b5804aea2ecead13f99231b671a75 (diff)
downloadayatana-indicator-application-abd499aaeb280ef2ab24f4e392484ecd4d8bb7a2.tar.gz
ayatana-indicator-application-abd499aaeb280ef2ab24f4e392484ecd4d8bb7a2.tar.bz2
ayatana-indicator-application-abd499aaeb280ef2ab24f4e392484ecd4d8bb7a2.zip
Only add the Application if it doesn't already exist in the appstore.
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;