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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index d401c67..67086bb 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -176,7 +176,7 @@ main(int argc, char** argv)
app.cubes[1].view = puglNewView(app.world);
puglSetWorldHandle(app.world, &app);
- puglSetClassName(app.world, "PuglWindowDemo");
+ puglSetWorldString(app.world, PUGL_CLASS_NAME, "PuglWindowDemo");
PuglStatus st = PUGL_SUCCESS;
for (unsigned i = 0; i < 2; ++i) {
@@ -185,7 +185,7 @@ main(int argc, char** argv)
cube->dist = 10;
- puglSetWindowTitle(view, "Pugl Window Demo");
+ puglSetViewString(view, PUGL_WINDOW_TITLE, "Pugl Window Demo");
puglSetPosition(view,
(PuglCoord)(pad + (128U + pad) * i),
(PuglCoord)(pad + (128U + pad) * i));