aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-13 14:01:57 -0500
committerTed Gould <ted@gould.cx>2010-08-13 14:01:57 -0500
commitba5b85a76a469fb5fa860a723ffd09c939bc7f0e (patch)
treeae619e8d0f906d0c2b932a474229211285aeb5b4
parenta0023d1bfb43aeb51d7b259dfc23c32139c8b14c (diff)
downloadlibayatana-appindicator-ba5b85a76a469fb5fa860a723ffd09c939bc7f0e.tar.gz
libayatana-appindicator-ba5b85a76a469fb5fa860a723ffd09c939bc7f0e.tar.bz2
libayatana-appindicator-ba5b85a76a469fb5fa860a723ffd09c939bc7f0e.zip
Making sure to remove our applications from the list as well.
-rw-r--r--src/application-service-appstore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 056f0e1..73fc5d1 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -551,6 +551,9 @@ application_removed_cb (DBusGProxy * proxy, gpointer userdata)
app->status = APP_INDICATOR_STATUS_PASSIVE;
apply_status(app);
+ /* Remove from the application list */
+ app->appstore->priv->applications = g_list_remove(app->appstore->priv->applications, app);
+
/* Destroy the data */
application_free(app);
return;