diff options
Diffstat (limited to 'test/test_stub_hints.c')
-rw-r--r-- | test/test_stub_hints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_stub_hints.c b/test/test_stub_hints.c index f45bacc..12a848b 100644 --- a/test/test_stub_hints.c +++ b/test/test_stub_hints.c @@ -34,7 +34,7 @@ main(void) puglSetWindowTitle(view, "Pugl Stub Hints Test"); puglSetBackend(view, puglStubBackend()); puglSetEventFunc(view, onEvent); - puglSetDefaultSize(view, 512, 512); + puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 512, 512); // Check invalid cases assert(puglSetViewHint(view, (PuglViewHint)9999, 0) == PUGL_BAD_PARAMETER); |