deprecated: Disable Cogl deprecation warnings

Like we do for Clutter: we know we are using deprecated API.
This commit is contained in:
Emmanuele Bassi 2013-07-03 18:15:31 +01:00
parent bb45f17979
commit 5cc7a1ee57
3 changed files with 6 additions and 3 deletions

View File

@ -36,6 +36,7 @@
#include "config.h"
#endif
#define COGL_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "deprecated/clutter-rectangle.h"
#include "deprecated/clutter-actor.h"

View File

@ -52,6 +52,7 @@
#include <unistd.h>
#endif
#define COGL_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include <glib.h>

View File

@ -47,6 +47,10 @@
#include "config.h"
#endif
/* sadly, we are still using ClutterShader internally */
#define COGL_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
/* This file depends on the glib enum types which aren't exposed
* by cogl.h when COGL_ENABLE_EXPERIMENTAL_2_0_API is defined.
*
@ -58,9 +62,6 @@
#define CLUTTER_ENABLE_EXPERIMENTAL_API
/* sadly, we are still using ClutterShader internally */
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "clutter-texture.h"
#include "clutter-actor-private.h"