aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-22 12:48:25 +0200
committerDavid Robillard <d@drobilla.net>2019-07-29 01:59:11 +0200
commit982ea3f09aa968bd89b00f445272984cb629b346 (patch)
treeeb36abf0c2db8585d84badf8773dcc0b97060245 /test
parente23890324d169d03868855a3e265ab4e3cd43745 (diff)
Add deprecation macro and deprecate puglInitResizable()
Diffstat (limited to 'test')
-rw-r--r--test/pugl_cairo_test.c2
-rw-r--r--test/pugl_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index d749485..ba1dad3 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -184,7 +184,7 @@ main(int argc, char** argv)
puglInitWindowClass(view, "PuglCairoTest");
puglInitWindowSize(view, 512, 512);
puglInitWindowMinSize(view, 256, 256);
- puglInitResizable(view, resizable);
+ puglInitWindowHint(view, PUGL_RESIZABLE, resizable);
puglInitContextType(view, PUGL_CAIRO);
puglIgnoreKeyRepeat(view, ignoreKeyRepeat);
diff --git a/test/pugl_test.c b/test/pugl_test.c
index fe1cc29..dfc06c6 100644
--- a/test/pugl_test.c
+++ b/test/pugl_test.c
@@ -171,8 +171,8 @@ main(int argc, char** argv)
puglInitWindowSize(view, 512, 512);
puglInitWindowMinSize(view, 256, 256);
puglInitWindowAspectRatio(view, 1, 1, 16, 9);
- puglInitResizable(view, resizable);
+ puglInitWindowHint(view, PUGL_RESIZABLE, resizable);
puglInitWindowHint(view, PUGL_SAMPLES, samples);
puglInitWindowHint(view, PUGL_DOUBLE_BUFFER, doubleBuffer);