aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_window_demo.c')
-rw-r--r--examples/pugl_window_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index 3b8da31..b3deb0d 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -206,7 +206,7 @@ main(int argc, char** argv)
if (i == 1) {
puglSetTransientParent(app.cubes[1].view,
- puglGetNativeWindow(app.cubes[0].view));
+ puglGetNativeView(app.cubes[0].view));
}
if ((st = puglRealize(view))) {