]> Pileus Git - grits/blobdiff - examples/tess/convex.c
Switch to GDK_KEY_*
[grits] / examples / tess / convex.c
index 7d8451d004a14383981efb7e69ebf73a5220693a..709b6814ddb76b7b49e1fbcbbb9604c7f47f0382 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2011 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ guint tex, texl, texr;
 
 gboolean on_key_press(GtkWidget *widget, GdkEventKey *event, gpointer _)
 {
-       if (event->keyval == GDK_q)
+       if (event->keyval == GDK_KEY_q)
                gtk_main_quit();
        return FALSE;
 }