From 17e8df2d4ee3a225106242ec534d58aecea83f4a Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Thu, 26 Dec 2013 16:08:52 +0100 Subject: [PATCH] Use of new GDK 3 keys constants. --- src/grid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grid.c b/src/grid.c index ded508e..aa75078 100644 --- a/src/grid.c +++ b/src/grid.c @@ -30,7 +30,7 @@ #include #if defined (REPTOOL_FOUND) || defined (SOLIPA_FOUND) - #include + #include #endif #ifdef REPTOOL_FOUND @@ -694,7 +694,7 @@ gdaex_grid_on_key_release_event (GtkWidget *widget, switch (event->keyval) { #ifdef REPTOOL_FOUND - case GDK_F12: + case GDK_KEY_F12: { if (event->state & GDK_CONTROL_MASK) { @@ -706,7 +706,7 @@ gdaex_grid_on_key_release_event (GtkWidget *widget, #endif #ifdef SOLIPA_FOUND - case GDK_F11: + case GDK_KEY_F11: { if (event->state & GDK_CONTROL_MASK) { -- 2.49.0