summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-autorun.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-05 14:20:13 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:50 +0200
commit0d0641f10e84e0de0b39e63789508c260913cc98 (patch)
tree6edb94bcae1f8fc4c2ef85abdd93d4edacca76a4 /libcaja-private/caja-autorun.c
parent99699a1670fa6281cea8ce8612bb9866163059e7 (diff)
downloadcaja-0d0641f10e84e0de0b39e63789508c260913cc98.tar.bz2
caja-0d0641f10e84e0de0b39e63789508c260913cc98.tar.xz
[lc-p] convert to new GDK_KEY prefix
http://git.gnome.org/browse/nautilus/commit/?id=64dcbea2a005e4ed8bb4945d06a943058b8c7ba8
Diffstat (limited to 'libcaja-private/caja-autorun.c')
-rw-r--r--libcaja-private/caja-autorun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-autorun.c b/libcaja-private/caja-autorun.c
index bfb26968..61adb3e0 100644
--- a/libcaja-private/caja-autorun.c
+++ b/libcaja-private/caja-autorun.c
@@ -908,7 +908,7 @@ autorun_always_toggled (GtkToggleButton *togglebutton, AutorunDialogData *data)
static gboolean
combo_box_enter_ok (GtkWidget *togglebutton, GdkEventKey *event, GtkDialog *dialog)
{
- if (event->keyval == GDK_KP_Enter || event->keyval == GDK_Return)
+ if (event->keyval == GDK_KEY_KP_Enter || event->keyval == GDK_KEY_Return)
{
gtk_dialog_response (dialog, GTK_RESPONSE_OK);
return TRUE;