diff options
Diffstat (limited to 'test/test_realize.c')
-rw-r--r-- | test/test_realize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_realize.c b/test/test_realize.c index d26d866..50eba46 100644 --- a/test/test_realize.c +++ b/test/test_realize.c @@ -68,7 +68,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 initially invisible window assert(!puglRealize(test.view)); |