diff options
author | David Robillard <d@drobilla.net> | 2019-08-04 22:08:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-03 08:34:39 +0200 |
commit | 59359e4f3d81231e7c665aa53ceeba7de0671d95 (patch) | |
tree | bf471b3f58724a5ef4a701dfefac1b905207eb52 /test/pugl_cairo_test.c | |
parent | 4c6ac6b1c3e9f7ac04b5f6ba0b30eb8eacfcce9c (diff) | |
download | pugl-59359e4f3d81231e7c665aa53ceeba7de0671d95.tar.gz pugl-59359e4f3d81231e7c665aa53ceeba7de0671d95.tar.bz2 pugl-59359e4f3d81231e7c665aa53ceeba7de0671d95.zip |
Make event handler return a status
Currently unused, but this is to leave open the possibility of event
propagation or better errror handling.
Diffstat (limited to 'test/pugl_cairo_test.c')
-rw-r--r-- | test/pugl_cairo_test.c | 4 |
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 |