diff options
Diffstat (limited to 'test/test_remote_copy_paste.c')
-rw-r--r-- | test/test_remote_copy_paste.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c index aeba3dc..2ee90f7 100644 --- a/test/test_remote_copy_paste.c +++ b/test/test_remote_copy_paste.c @@ -131,7 +131,7 @@ main(int argc, char** argv) puglSetBackend(app.copierView, puglStubBackend()); puglSetHandle(app.copierView, &app); puglSetEventFunc(app.copierView, onCopierEvent); - puglSetDefaultSize(app.copierView, 256, 256); + puglSetSizeHint(app.copierView, PUGL_DEFAULT_SIZE, 256, 256); // Set up paster view app.pasterView = puglNewView(app.world); @@ -140,7 +140,7 @@ main(int argc, char** argv) puglSetBackend(app.pasterView, puglStubBackend()); puglSetHandle(app.pasterView, &app); puglSetEventFunc(app.pasterView, onPasterEvent); - puglSetDefaultSize(app.pasterView, 256, 256); + puglSetSizeHint(app.pasterView, PUGL_DEFAULT_SIZE, 256, 256); // Create and show both views assert(!puglShow(app.copierView)); |