deprecated: Disable Cogl deprecation warnings
Like we do for Clutter: we know we are using deprecated API.
This commit is contained in:
parent
bb45f17979
commit
5cc7a1ee57
@ -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"
|
||||
|
@ -52,6 +52,7 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define COGL_DISABLE_DEPRECATION_WARNINGS
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <glib.h>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user