aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_print_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_print_events.c')
-rw-r--r--examples/pugl_print_events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_print_events.c b/examples/pugl_print_events.c
index c2b1512..96a8889 100644
--- a/examples/pugl_print_events.c
+++ b/examples/pugl_print_events.c
@@ -41,8 +41,8 @@ main(void)
app.world = puglNewWorld(PUGL_PROGRAM, 0);
app.view = puglNewView(app.world);
- puglSetClassName(app.world, "PuglPrintEvents");
- puglSetWindowTitle(app.view, "Pugl Event Printer");
+ puglSetWorldString(app.world, PUGL_CLASS_NAME, "PuglPrintEvents");
+ puglSetViewString(app.view, PUGL_WINDOW_TITLE, "Pugl Event Printer");
puglSetSizeHint(app.view, PUGL_DEFAULT_SIZE, 512, 512);
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);