mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
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:
parent
e2ee1249ee
commit
356970fbc1
@ -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()
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user