X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Ftest.c;fp=src%2Fplugins%2Ftest.c;h=2c3e52f97718e704bc935a74438957086cdb7a80;hp=cfc999b854143e3e932aa0a9ed2b16e9a1e95fa8;hb=bed3380cb43b0d9cfcb2da34fda9bb36258ae46d;hpb=fc4cc16eca4615ae16517a1b2fe4659b983cc4b5 diff --git a/src/plugins/test.c b/src/plugins/test.c index cfc999b..2c3e52f 100644 --- a/src/plugins/test.c +++ b/src/plugins/test.c @@ -65,9 +65,9 @@ static gboolean on_poly_key(GritsPoly *poly, GdkEventKey *event) { g_debug("GritsPluginTest: on_poly_key - %d", event->keyval); gdouble colors[0xff][3] = { - [GDK_r] {1, 0, 0}, - [GDK_g] {0, 1, 0}, - [GDK_b] {0, 0, 1}, + [GDK_KEY_r] {1, 0, 0}, + [GDK_KEY_g] {0, 1, 0}, + [GDK_KEY_b] {0, 0, 1}, }; if (event->keyval >= G_N_ELEMENTS(colors)) return FALSE;