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 /plugins/taglist | |
parent | 121e7b4f8a9a3b0571286929fbc504988561d148 (diff) | |
download | pluma-79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781.tar.bz2 pluma-79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781.tar.xz |
drop gdkkeysyms-compat usage, use modern key names
Diffstat (limited to 'plugins/taglist')
-rwxr-xr-x | plugins/taglist/pluma-taglist-plugin-panel.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/taglist/pluma-taglist-plugin-panel.c b/plugins/taglist/pluma-taglist-plugin-panel.c index a11b689b..682bedd6 100755 --- a/plugins/taglist/pluma-taglist-plugin-panel.c +++ b/plugins/taglist/pluma-taglist-plugin-panel.c @@ -43,9 +43,6 @@ #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> -#if GTK_CHECK_VERSION (3, 0, 0) -#include <gdk/gdkkeysyms-compat.h> -#endif #include <glib/gi18n.h> #define PLUMA_TAGLIST_PLUGIN_PANEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), \ @@ -277,7 +274,7 @@ tag_list_key_press_event_cb (GtkTreeView *tag_list, grab_focus = (event->state & GDK_CONTROL_MASK) != 0; - if (event->keyval == GDK_Return) + if (event->keyval == GDK_KEY_Return) { GtkTreeModel *model; GtkTreeSelection *selection; |