From 356970fbc118fc78a4de8bf440af80710a7d5f11 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 13 Feb 2007 21:09:30 +0000 Subject: [PATCH] 2007-02-13 Matthew Allum * examples/super-oh.c: (screensaver_setup): Fix example to build with new glx api --- ChangeLog | 5 +++++ examples/super-oh.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 280f3f878..2c1568dff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-13 Matthew Allum + + * examples/super-oh.c: (screensaver_setup): + Fix example to build with new glx api + 2007-02-07 Emmanuele Bassi * clutter/clutter-debug.h: Define the CLUTTER_MARK() diff --git a/examples/super-oh.c b/examples/super-oh.c index e9af9732c..881fec495 100644 --- a/examples/super-oh.c +++ b/examples/super-oh.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -52,7 +53,7 @@ screensaver_setup (void) ((*end == ' ') || (*end == '\0')) && ((remote_xwindow < G_MAXULONG) || (errno != ERANGE))) { - foreign_success = clutter_stage_set_xwindow_foreign + foreign_success = clutter_stage_glx_set_window_foreign (CLUTTER_STAGE(clutter_stage_get_default()), remote_xwindow); } }