summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Lefebvre <[email protected]>2015-06-26 14:18:03 +0200
committerClement Lefebvre <[email protected]>2015-06-26 14:18:03 +0200
commitc2a0fb407b5dbd5054555b3faaf4d09bcaf4cb9a (patch)
tree1eaa778706e03454fb36181d9cb37c9a8c1dcf3c
parent8556c854a90d6e50a9861aea5fda48cfb2262bc3 (diff)
downloadmate-screensaver-c2a0fb407b5dbd5054555b3faaf4d09bcaf4cb9a.tar.bz2
mate-screensaver-c2a0fb407b5dbd5054555b3faaf4d09bcaf4cb9a.tar.xz
[joequant] fix segfault due to wrong object being destroyed (ported from https://github.com/linuxmint/cinnamon-screensaver/pull/106)
-rw-r--r--src/gs-lock-plug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 34aa87a..3a42c7f 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -650,7 +650,7 @@ gs_lock_plug_run (GSLockPlug *plug)
g_signal_handler_disconnect (plug, unmap_handler);
g_signal_handler_disconnect (plug, delete_handler);
g_signal_handler_disconnect (plug, destroy_handler);
- g_signal_handler_disconnect (plug, keymap_handler);
+ g_signal_handler_disconnect (keymap, keymap_handler);
}
g_object_unref (plug);