[gnome-shell] Remove explicit ENABLE_EXPERIMENTAL_API switches



commit 0af4dc0b4c2d49a031b208b509a25ab2b878c25a
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Aug 8 17:55:41 2014 +0200

    Remove explicit ENABLE_EXPERIMENTAL_API switches
    
    Those are already defined globally via the Makefile, and newer
    compiler versions complain about redefining those symbols.

 src/shell-invert-lightness-effect.c |    2 --
 src/st/st-texture-cache.c           |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/shell-invert-lightness-effect.c b/src/shell-invert-lightness-effect.c
index 4d6c27e..d70151b 100644
--- a/src/shell-invert-lightness-effect.c
+++ b/src/shell-invert-lightness-effect.c
@@ -35,8 +35,6 @@
 #define SHELL_IS_INVERT_EFFECT_CLASS(klass)           (G_TYPE_CHECK_CLASS_TYPE ((klass), 
SHELL_TYPE_INVERT_LIGHTNESS_EFFECT))
 #define SHELL_INVERT_LIGHTNESS_EFFECT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), 
SHELL_TYPE_INVERT_LIGHTNESS_EFFEC, ShellInvertLightnessEffectClass))
 
-#define CLUTTER_ENABLE_EXPERIMENTAL_API
-
 #include "shell-invert-lightness-effect.h"
 
 #include <cogl/cogl.h>
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index 64b9651..b99c0f8 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -21,8 +21,6 @@
 
 #include "config.h"
 
-#define COGL_ENABLE_EXPERIMENTAL_API /* for cogl_framebuffer_allocate */
-
 #include "st-texture-cache.h"
 #include "st-private.h"
 #include <gtk/gtk.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]