summaryrefslogtreecommitdiff
path: root/plugins/xrandr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xrandr')
-rw-r--r--plugins/xrandr/gsd-xrandr-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 570553ad..3da2b7fc 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -2026,6 +2026,7 @@ gsd_xrandr_manager_stop (GsdXrandrManager *manager)
}
if (manager->priv->upower_client != NULL) {
+ g_signal_handlers_disconnect_by_data (manager->priv->upower_client, manager);
g_object_unref (manager->priv->upower_client);
manager->priv->upower_client = NULL;
}