[602/906] hide deprecation warnings with newer clutter versions

This commit is contained in:
Matthew Waters 2012-11-04 19:15:05 +11:00
parent d01755fcc5
commit 89c743bbe5
3 changed files with 4 additions and 0 deletions

View file

@ -19,6 +19,7 @@
*/
#define CLUTTER_VERSION_MIN_REQUIRED CLUTTER_VERSION_1_8
#include <X11/Xlib.h>
#include <X11/extensions/Xcomposite.h>

View file

@ -19,6 +19,7 @@
*/
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_VERSION_MIN_REQUIRED CLUTTER_VERSION_1_8
#include <X11/Xlib.h>
#include <X11/extensions/Xcomposite.h>

View file

@ -26,6 +26,8 @@
#endif
#include <GL/gl.h>
#define CLUTTER_VERSION_MIN_REQUIRED CLUTTER_VERSION_1_8
#include <clutter/clutter.h>
#ifndef WIN32
#include <clutter/x11/clutter-x11.h>