summaryrefslogtreecommitdiff
path: root/test/simple/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/simple.c')
-rw-r--r--test/simple/simple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/simple/simple.c b/test/simple/simple.c
index bc0e59b..a16ceb2 100644
--- a/test/simple/simple.c
+++ b/test/simple/simple.c
@@ -149,10 +149,12 @@ int SimpleTransform(void)
int SimpleContextPlus(void)
{
+#ifndef USE_GDK
gdpiplus = !gdpiplus;
SimpleKillCanvas();
SimpleCreateCanvasWindow();
SimpleDrawRepaint();
+#endif
return 0;
}