diff options
author | Monsta <[email protected]> | 2015-08-03 18:04:03 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-08-03 18:04:03 +0300 |
commit | 79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781 (patch) | |
tree | a65addd96617d0b92b05a8f6d7c4b0d44b88d0de /pluma/pluma-commands-search.c | |
parent | 121e7b4f8a9a3b0571286929fbc504988561d148 (diff) | |
download | pluma-79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781.tar.bz2 pluma-79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781.tar.xz |
drop gdkkeysyms-compat usage, use modern key names
Diffstat (limited to 'pluma/pluma-commands-search.c')
-rw-r--r-- | pluma/pluma-commands-search.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pluma/pluma-commands-search.c b/pluma/pluma-commands-search.c index 01780f42..278524c7 100644 --- a/pluma/pluma-commands-search.c +++ b/pluma/pluma-commands-search.c @@ -39,7 +39,6 @@ #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> #if GTK_CHECK_VERSION (3, 0, 0) -#include <gdk/gdkkeysyms-compat.h> #define GTK_OBJECT G_OBJECT #endif @@ -765,7 +764,7 @@ _pluma_cmd_search_goto_line (GtkAction *action, * the corrisponding binding. */ gtk_bindings_activate (GTK_OBJECT (active_view), - GDK_i, + GDK_KEY_i, GDK_CONTROL_MASK); } @@ -789,6 +788,6 @@ _pluma_cmd_search_incremental_search (GtkAction *action, * the corrisponding binding. */ gtk_bindings_activate (GTK_OBJECT (active_view), - GDK_k, + GDK_KEY_k, GDK_CONTROL_MASK); } |