diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 18:13:15 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 18:13:22 -0500 |
commit | 3c87f1f1fd3b7a58d29e343641d35bb1382cfac8 (patch) | |
tree | d092eb192f8724794c10e01d26feaf4235d931a1 /examples | |
parent | 0452a367a89ac415c647831880485a55eaddbe35 (diff) | |
download | pugl-3c87f1f1fd3b7a58d29e343641d35bb1382cfac8.tar.gz pugl-3c87f1f1fd3b7a58d29e343641d35bb1382cfac8.tar.bz2 pugl-3c87f1f1fd3b7a58d29e343641d35bb1382cfac8.zip |
Use a consistent naming scheme for parent functions
These could be combined into a hint-like general get/set mechanism, but
currently there's only two window relationships and no immediate plans to add
more, so that feels a bit over-engineered. So, just rename for consistency
with puglSetTransientParent().
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pugl_embed_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c index a66e032..0274ab4 100644 --- a/examples/pugl_embed_demo.c +++ b/examples/pugl_embed_demo.c @@ -289,7 +289,7 @@ main(int argc, char** argv) } puglSetFrame(app.child, getChildFrame(parentFrame)); - puglSetParentWindow(app.child, puglGetNativeView(app.parent)); + puglSetParent(app.child, puglGetNativeView(app.parent)); puglSetViewHint(app.child, PUGL_CONTEXT_DEBUG, opts.errorChecking); puglSetViewHint(app.child, PUGL_SAMPLES, opts.samples); |