From 72da6f808e8a5c0339a3d8e6dd6c93ad01f7c90f Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 12 Oct 2011 12:36:41 +0100 Subject: [PATCH] texture: Disable deprecation warnings Sadly, ClutterTexture is still using internally deprecated API, like clutter_actor_get_shader(). --- clutter/clutter-texture.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 3e7516dad..95a7a150a 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -44,6 +44,9 @@ #include "config.h" #endif +/* sadly, we are still using ClutterShader internally */ +#define CLUTTER_DISABLE_DEPRECATION_WARNINGS + #include "clutter-texture.h" #include "clutter-actor-private.h" @@ -54,8 +57,9 @@ #include "clutter-marshal.h" #include "clutter-private.h" #include "clutter-scriptable.h" -#include "clutter-shader.h" #include "clutter-stage-private.h" + +#include "clutter-shader.h" #include "clutter-util.h" static void clutter_scriptable_iface_init (ClutterScriptableIface *iface);