summaryrefslogtreecommitdiff
path: root/pluma/pluma-commands-search.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-03 18:04:03 +0300
committerMonsta <[email protected]>2015-08-03 18:04:03 +0300
commit79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781 (patch)
treea65addd96617d0b92b05a8f6d7c4b0d44b88d0de /pluma/pluma-commands-search.c
parent121e7b4f8a9a3b0571286929fbc504988561d148 (diff)
downloadpluma-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.c5
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);
}