[gnome-settings-daemon] xsettings: Disable bus name watch on destruction
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: Disable bus name watch on destruction
- Date: Thu, 25 Sep 2014 10:03:58 +0000 (UTC)
commit f06a5de7b56c82a7c878bd3c401265b0ab62578d
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 25 12:01:51 2014 +0200
xsettings: Disable bus name watch on destruction
plugins/xsettings/gsd-remote-display-manager.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-remote-display-manager.c b/plugins/xsettings/gsd-remote-display-manager.c
index f02e489..8058a40 100644
--- a/plugins/xsettings/gsd-remote-display-manager.c
+++ b/plugins/xsettings/gsd-remote-display-manager.c
@@ -229,6 +229,11 @@ gsd_remote_display_manager_panel_finalize (GObject *object)
GsdRemoteDisplayManager *manager = GSD_REMOTE_DISPLAY_MANAGER (object);
g_debug ("Stopping remote_display manager");
+ if (manager->priv->vino_watch_id > 0) {
+ g_bus_unwatch_name (manager->priv->vino_watch_id);
+ manager->priv->vino_watch_id = 0;
+ }
+
if (manager->priv->cancellable != NULL) {
g_cancellable_cancel (manager->priv->cancellable);
g_clear_object (&manager->priv->cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]