[clutter] texture: Disable deprecation warnings
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] texture: Disable deprecation warnings
- Date: Wed, 12 Oct 2011 11:37:17 +0000 (UTC)
commit 72da6f808e8a5c0339a3d8e6dd6c93ad01f7c90f
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Wed Oct 12 12:36:41 2011 +0100
texture: Disable deprecation warnings
Sadly, ClutterTexture is still using internally deprecated API, like
clutter_actor_get_shader().
clutter/clutter-texture.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c
index 3e7516d..95a7a15 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]