diff options
author | Ted Gould <ted@gould.cx> | 2010-08-13 14:01:57 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-13 14:01:57 -0500 |
commit | ba5b85a76a469fb5fa860a723ffd09c939bc7f0e (patch) | |
tree | ae619e8d0f906d0c2b932a474229211285aeb5b4 /src | |
parent | a0023d1bfb43aeb51d7b259dfc23c32139c8b14c (diff) | |
download | ayatana-indicator-application-ba5b85a76a469fb5fa860a723ffd09c939bc7f0e.tar.gz ayatana-indicator-application-ba5b85a76a469fb5fa860a723ffd09c939bc7f0e.tar.bz2 ayatana-indicator-application-ba5b85a76a469fb5fa860a723ffd09c939bc7f0e.zip |
Making sure to remove our applications from the list as well.
Diffstat (limited to 'src')
-rw-r--r-- | src/application-service-appstore.c | 3 |
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; |