aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cairo.c')
-rw-r--r--test/test_cairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_cairo.c b/test/test_cairo.c
index 5d2aab8..a9a36db 100644
--- a/test/test_cairo.c
+++ b/test/test_cairo.c
@@ -65,7 +65,7 @@ main(int argc, char** argv)
puglSetHandle(test.view, &test);
puglSetBackend(test.view, puglCairoBackend());
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