aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_cairo_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pugl_cairo_test.c')
-rw-r--r--test/pugl_cairo_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index 3a36e53..23c2b4e 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -146,7 +146,7 @@ onClose(PuglView* view)
quit = 1;
}
-static void
+static PuglStatus
onEvent(PuglView* view, const PuglEvent* event)
{
switch (event->type) {
@@ -179,6 +179,8 @@ onEvent(PuglView* view, const PuglEvent* event)
break;
default: break;
}
+
+ return PUGL_SUCCESS;
}
int