2007-02-13 Matthew Allum <mallum@openedhand.com>
authorMatthew Allum <mallum@openedhand.com>
Tue, 13 Feb 2007 21:09:30 +0000 (21:09 +0000)
committerMatthew Allum <mallum@openedhand.com>
Tue, 13 Feb 2007 21:09:30 +0000 (21:09 +0000)
        * examples/super-oh.c: (screensaver_setup):
        Fix example to build with new glx api

ChangeLog
examples/super-oh.c

index 280f3f8..2c1568d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-13  Matthew Allum  <mallum@openedhand.com>
+
+       * examples/super-oh.c: (screensaver_setup):
+       Fix example to build with new glx api
+
 2007-02-07  Emmanuele Bassi  <ebassi@openedhand.com>
 
        * clutter/clutter-debug.h: Define the CLUTTER_MARK()
index e9af973..881fec4 100644 (file)
@@ -1,4 +1,5 @@
 #include <clutter/clutter.h>
+#include <clutter/clutter-backend-glx.h>
 #include <math.h>
 #include <errno.h>
 #include <stdlib.h>
@@ -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);
         }
     }