diff --git a/src/Makefile.am b/src/Makefile.am index a7e74067d..51fc9453c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,6 +6,8 @@ lib_LTLIBRARIES = libmutter.la SUBDIRS=wm-tester tools compositor/plugins INCLUDES= \ + -DCLUTTER_ENABLE_EXPERIMENTAL_API \ + -DCOGL_ENABLE_EXPERIMENTAL_API \ $(MUTTER_CFLAGS) \ -I$(srcdir) \ -I$(srcdir)/core \ diff --git a/src/compositor/meta-background-actor.c b/src/compositor/meta-background-actor.c index b039b5874..41306b16c 100644 --- a/src/compositor/meta-background-actor.c +++ b/src/compositor/meta-background-actor.c @@ -25,10 +25,8 @@ #include <config.h> -#define COGL_ENABLE_EXPERIMENTAL_API #include <cogl/cogl-texture-pixmap-x11.h> -#define CLUTTER_ENABLE_EXPERIMENTAL_API #include <clutter/clutter.h> #include <X11/Xatom.h> diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index a5fce0416..0d10f4838 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -27,9 +27,6 @@ #include <config.h> -#define CLUTTER_ENABLE_EXPERIMENTAL_API -#define COGL_ENABLE_EXPERIMENTAL_API - #include <meta/meta-shaped-texture.h> #include "meta-texture-tower.h" diff --git a/src/compositor/meta-texture-rectangle.c b/src/compositor/meta-texture-rectangle.c index af6817f67..168e09b4c 100644 --- a/src/compositor/meta-texture-rectangle.c +++ b/src/compositor/meta-texture-rectangle.c @@ -25,9 +25,6 @@ #include <config.h> -#define CLUTTER_ENABLE_EXPERIMENTAL_API -#define COGL_ENABLE_EXPERIMENTAL_API - #include <clutter/clutter.h> #include "meta-texture-rectangle.h" diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 214df033c..a6c7c45c4 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -10,7 +10,6 @@ #include <X11/extensions/Xrender.h> #include <clutter/x11/clutter-x11.h> -#define COGL_ENABLE_EXPERIMENTAL_API #include <cogl/cogl-texture-pixmap-x11.h> #include <gdk/gdk.h> /* for gdk_rectangle_union() */ #include <string.h>