aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_stub.c')
-rw-r--r--test/test_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_stub.c b/test/test_stub.c
index 308aae3..8ab2c15 100644
--- a/test/test_stub.c
+++ b/test/test_stub.c
@@ -51,7 +51,7 @@ main(int argc, char** argv)
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglStubBackend());
puglSetEventFunc(test.view, onEvent);
- puglSetDefaultSize(test.view, 512, 512);
+ puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512);
puglShow(test.view);
// Drive event loop until the view gets exposed