summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cogl-x11-foreign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cogl-x11-foreign.c b/examples/cogl-x11-foreign.c
index a60397cd..e9ac93d9 100644
--- a/examples/cogl-x11-foreign.c
+++ b/examples/cogl-x11-foreign.c
@@ -160,7 +160,7 @@ main (int argc, char **argv)
fb = COGL_FRAMEBUFFER (onscreen);
cogl_onscreen_set_resizable (onscreen, TRUE);
- cogl_onscreen_add_resize_handler (onscreen, resize_handler, onscreen);
+ cogl_onscreen_add_resize_callback (onscreen, resize_handler, onscreen, NULL);
triangle = cogl_primitive_new_p2c4 (ctx, COGL_VERTICES_MODE_TRIANGLES,
3, triangle_vertices);