]> saetta.ns0.it Git - libgdaex/commitdiff
Use of new GDK 3 keys constants.
authorAndrea Zagli <azagli@libero.it>
Thu, 26 Dec 2013 15:08:52 +0000 (16:08 +0100)
committerAndrea Zagli <azagli@libero.it>
Thu, 26 Dec 2013 15:08:52 +0000 (16:08 +0100)
src/grid.c

index ded508e549e2fd492d4c1f55a18a5fe5dda3bf0c..aa7507825d4e5762890c88cb2532ea4798a21e85 100644 (file)
@@ -30,7 +30,7 @@
 #include <gtk/gtk.h>
 
 #if defined (REPTOOL_FOUND) || defined (SOLIPA_FOUND)
-       #include <gdk/gdkkeysyms.h>
+       #include <gdk/gdk.h>
 #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)
                                                {