diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-07 22:15:28 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-06-07 22:15:28 +0000 |
commit | e5a4ba5371000d1075d18205ecdd25fafbde3c38 (patch) | |
tree | ee8934012f52d77f67be4181b11d193016bd2639 /libmessaging-menu | |
parent | b38a660213950fa1aa46d1fd73901eafcd7b8a75 (diff) | |
parent | 014158fd7f63b25840bbcecc92e9ec3f42a7002c (diff) | |
download | ayatana-indicator-messages-e5a4ba5371000d1075d18205ecdd25fafbde3c38.tar.gz ayatana-indicator-messages-e5a4ba5371000d1075d18205ecdd25fafbde3c38.tar.bz2 ayatana-indicator-messages-e5a4ba5371000d1075d18205ecdd25fafbde3c38.zip |
Notify the service when an app unrefs its MessagingMenuApp. Fixes: https://bugs.launchpad.net/bugs/1154099.
Approved by PS Jenkins bot, Ted Gould.
Diffstat (limited to 'libmessaging-menu')
-rw-r--r-- | libmessaging-menu/messaging-menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmessaging-menu/messaging-menu.c b/libmessaging-menu/messaging-menu.c index acf3d90..467a67a 100644 --- a/libmessaging-menu/messaging-menu.c +++ b/libmessaging-menu/messaging-menu.c @@ -277,6 +277,10 @@ messaging_menu_app_dispose (GObject *object) if (app->messages_service) { + indicator_messages_service_call_application_stopped_running (app->messages_service, + g_app_info_get_id (G_APP_INFO (app->appinfo)), + NULL, NULL, NULL); + g_signal_handlers_disconnect_by_func (app->messages_service, global_status_changed, app); |