summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-09 10:47:04 +0200
committerinfirit <[email protected]>2015-07-09 12:15:32 +0200
commita3c426e1e81dc56f4fdd56f8c736125798fec26b (patch)
tree4c94c4276d333da0e4a7aad74e96bf5bfca90295 /src/gs-lock-plug.c
parent1b8f66d0f995b2f9ccf56c9ab7a27c2f68442c50 (diff)
downloadmate-screensaver-a3c426e1e81dc56f4fdd56f8c736125798fec26b.tar.bz2
mate-screensaver-a3c426e1e81dc56f4fdd56f8c736125798fec26b.tar.xz
Don't use gdkkeysyms-compat for Gtk+2
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 68c0f0b..9292cbf 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -39,7 +39,6 @@
#include <gio/gio.h>
#if GTK_CHECK_VERSION (3, 0, 0)
-#include <gdk/gdkkeysyms-compat.h>
#include <gtk/gtkx.h>
#define MATE_DESKTOP_USE_UNSTABLE_API
#include <libmate-desktop/mate-desktop-utils.h>
@@ -1432,7 +1431,7 @@ gs_lock_plug_class_init (GSLockPlugClass *klass)
binding_set = gtk_binding_set_by_class (klass);
- gtk_binding_entry_add_signal (binding_set, GDK_Escape, 0,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0,
"close", 0);
}