aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-16 20:11:47 -0500
committerDavid Robillard <d@drobilla.net>2021-12-16 20:11:47 -0500
commit7570f3d40a258511fe25f4c239d2f746c97340e0 (patch)
tree424cbf50d1a85086fe9bc56422f0148f38ab844a /examples/pugl_window_demo.c
parent461e2316ad5315777e494d3a57fd28ac1f73cda5 (diff)
downloadpugl-7570f3d40a258511fe25f4c239d2f746c97340e0.tar.gz
pugl-7570f3d40a258511fe25f4c239d2f746c97340e0.tar.bz2
pugl-7570f3d40a258511fe25f4c239d2f746c97340e0.zip
Rename puglSetTransientFor to puglSetTransientParent
Diffstat (limited to 'examples/pugl_window_demo.c')
-rw-r--r--examples/pugl_window_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index 1e38aa1..34471f0 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -222,8 +222,8 @@ main(int argc, char** argv)
puglSetEventFunc(view, onEvent);
if (i == 1) {
- puglSetTransientFor(app.cubes[1].view,
- puglGetNativeWindow(app.cubes[0].view));
+ puglSetTransientParent(app.cubes[1].view,
+ puglGetNativeWindow(app.cubes[0].view));
}
if ((st = puglRealize(view))) {