summaryrefslogtreecommitdiff
path: root/plugins/taglist/pluma-taglist-plugin-panel.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 /plugins/taglist/pluma-taglist-plugin-panel.c
parent121e7b4f8a9a3b0571286929fbc504988561d148 (diff)
downloadpluma-79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781.tar.bz2
pluma-79c3e2849004a5c81a0b0bc25fb9dc0e1ce8a781.tar.xz
drop gdkkeysyms-compat usage, use modern key names
Diffstat (limited to 'plugins/taglist/pluma-taglist-plugin-panel.c')
-rwxr-xr-xplugins/taglist/pluma-taglist-plugin-panel.c5
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;