diff options
author | David Robillard <d@drobilla.net> | 2020-04-01 19:35:58 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-01 19:41:37 +0200 |
commit | fcddc7933dbff47754b8e4acea7406b77df1bf21 (patch) | |
tree | 8d82bc731b5e86b10e28acc85654d9be86ff321a /examples/pugl_print_events.c | |
parent | 3f71daba7d92c50f7fd31e8775fc58d3ebf3900d (diff) | |
download | pugl-fcddc7933dbff47754b8e4acea7406b77df1bf21.tar.gz pugl-fcddc7933dbff47754b8e4acea7406b77df1bf21.tar.bz2 pugl-fcddc7933dbff47754b8e4acea7406b77df1bf21.zip |
Replace puglShowWindow() with puglRealize()
Diffstat (limited to 'examples/pugl_print_events.c')
-rw-r--r-- | examples/pugl_print_events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pugl_print_events.c b/examples/pugl_print_events.c index 9c81033..52b58c4 100644 --- a/examples/pugl_print_events.c +++ b/examples/pugl_print_events.c @@ -57,11 +57,12 @@ main(void) app.view = puglNewView(app.world); puglSetClassName(app.world, "Pugl Print Events"); + puglSetWindowTitle(app.view, "Pugl Event Printer"); puglSetBackend(app.view, puglStubBackend()); puglSetHandle(app.view, &app); puglSetEventFunc(app.view, onEvent); - if (puglCreateWindow(app.view, "Pugl Event Printer")) { + if (puglRealize(app.view)) { return logError("Failed to create window\n"); } |