aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pugl_test.c')
-rw-r--r--test/pugl_test.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/pugl_test.c b/test/pugl_test.c
index 740ebcd..ee58cf8 100644
--- a/test/pugl_test.c
+++ b/test/pugl_test.c
@@ -185,7 +185,7 @@ onKeyPress(PuglView* view, const PuglEventKey* event)
}
}
-static void
+static PuglStatus
onParentEvent(PuglView* view, const PuglEvent* event)
{
PuglTestApp* app = (PuglTestApp*)puglGetHandle(view);
@@ -230,9 +230,11 @@ onParentEvent(PuglView* view, const PuglEvent* event)
default:
break;
}
+
+ return PUGL_SUCCESS;
}
-static void
+static PuglStatus
onEvent(PuglView* view, const PuglEvent* event)
{
PuglTestApp* app = (PuglTestApp*)puglGetHandle(view);
@@ -273,6 +275,8 @@ onEvent(PuglView* view, const PuglEvent* event)
default:
break;
}
+
+ return PUGL_SUCCESS;
}
int