Disable deprecation warnings in deprecated classes

We know we're using deprecated symbols.
This commit is contained in:
Emmanuele Bassi 2012-04-27 12:38:19 +01:00
parent 05df0c9c14
commit 0077c51278
5 changed files with 12 additions and 2 deletions

View File

@ -115,6 +115,8 @@
#include <gmodule.h>
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "clutter-alpha.h"
#include "clutter-debug.h"
#include "clutter-enum-types.h"

View File

@ -151,6 +151,8 @@
#include <glib-object.h>
#include <gobject/gvaluecollector.h>
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "clutter-alpha.h"
#include "clutter-animatable.h"
#include "clutter-animation.h"

View File

@ -131,6 +131,8 @@
#include <gobject/gvaluecollector.h>
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "clutter-animator.h"
#include "clutter-alpha.h"

View File

@ -73,6 +73,8 @@
#include <cairo-gobject.h>
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "clutter-cairo-texture.h"
#include "clutter-actor-private.h"

View File

@ -181,11 +181,13 @@
#include "config.h"
#endif
#include "clutter-state.h"
#include <gobject/gvaluecollector.h>
#include <string.h>
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "clutter-state.h"
#include "clutter-alpha.h"
#include "clutter-animatable.h"
#include "clutter-animator.h"