aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_cairo_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_cairo_demo.c')
-rw-r--r--examples/pugl_cairo_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c
index f580540..0a4ddd9 100644
--- a/examples/pugl_cairo_demo.c
+++ b/examples/pugl_cairo_demo.c
@@ -211,11 +211,11 @@ main(int argc, char** argv)
}
app.world = puglNewWorld(PUGL_PROGRAM, 0);
- puglSetClassName(app.world, "PuglCairoDemo");
+ puglSetWorldString(app.world, PUGL_CLASS_NAME, "PuglCairoDemo");
PuglView* view = puglNewView(app.world);
- puglSetWindowTitle(view, "Pugl Cairo Demo");
+ puglSetViewString(view, PUGL_WINDOW_TITLE, "Pugl Cairo Demo");
puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 512, 512);
puglSetSizeHint(view, PUGL_MIN_SIZE, 256, 256);
puglSetSizeHint(view, PUGL_MAX_SIZE, 2048, 2048);