[gnome-settings-daemon] xrandr: Call stop from finalize
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xrandr: Call stop from finalize
- Date: Fri, 17 Oct 2014 15:28:06 +0000 (UTC)
commit b9dc5d218a430c61ba917c452fb10cdc75e3c95b
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Oct 17 17:10:23 2014 +0200
xrandr: Call stop from finalize
plugins/xrandr/gsd-xrandr-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index be31e06..9b2519a 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1292,6 +1292,7 @@ gsd_xrandr_manager_stop (GsdXrandrManager *manager)
manager->priv->device_added_id);
g_signal_handler_disconnect (manager->priv->device_manager,
manager->priv->device_removed_id);
+ manager->priv->device_manager = NULL;
}
log_open ();
@@ -1330,6 +1331,8 @@ gsd_xrandr_manager_finalize (GObject *object)
g_return_if_fail (manager->priv != NULL);
+ gsd_xrandr_manager_stop (manager);
+
if (manager->priv->name_id != 0)
g_bus_unown_name (manager->priv->name_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]