summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-aboutdialog.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-05 17:59:40 +0200
committerinfirit <[email protected]>2014-06-05 18:25:51 +0200
commit8f495b981fa6b14eb4448ad723100a73ebce4dc0 (patch)
treedf8a8ad007c380d9f7d40274e9e0c17157158bc5 /libmate-desktop/mate-aboutdialog.c
parent99308586f09d0924c5b47987c9aa9bf4654550c5 (diff)
downloadmate-desktop-8f495b981fa6b14eb4448ad723100a73ebce4dc0.tar.bz2
mate-desktop-8f495b981fa6b14eb4448ad723100a73ebce4dc0.tar.xz
GDK_KEY_* was introduced in Gtk+ 2.22
Diffstat (limited to 'libmate-desktop/mate-aboutdialog.c')
-rw-r--r--libmate-desktop/mate-aboutdialog.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libmate-desktop/mate-aboutdialog.c b/libmate-desktop/mate-aboutdialog.c
index b786b6b..e271bcf 100644
--- a/libmate-desktop/mate-aboutdialog.c
+++ b/libmate-desktop/mate-aboutdialog.c
@@ -33,9 +33,6 @@
#include <string.h>
#include <gdk/gdkkeysyms.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
-#include <gdk/gdkkeysyms-compat.h>
-#endif
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
@@ -1764,9 +1761,9 @@ text_view_key_press_event (GtkWidget *text_view,
switch (event->keyval)
{
- case GDK_Return:
- case GDK_ISO_Enter:
- case GDK_KP_Enter:
+ case GDK_KEY_Return:
+ case GDK_KEY_ISO_Enter:
+ case GDK_KEY_KP_Enter:
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
gtk_text_buffer_get_iter_at_mark (buffer, &iter,
gtk_text_buffer_get_insert (buffer));