1
0
Fork 0

2007-02-13 Matthew Allum <mallum@openedhand.com>

* examples/super-oh.c: (screensaver_setup):
        Fix example to build with new glx api
This commit is contained in:
Matthew Allum 2007-02-13 21:09:30 +00:00
parent e2ee1249ee
commit 356970fbc1
2 changed files with 7 additions and 1 deletions

View file

@ -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()

View 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);
}
}