aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_timer.c')
-rw-r--r--test/test_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_timer.c b/test/test_timer.c
index 70e6e3b..401e4d5 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -111,7 +111,7 @@ main(int argc, char** argv)
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
- puglSetDefaultSize(test.view, 512, 512);
+ puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512);
// Create and show window
assert(!puglRealize(test.view));