cellrendererspinner: Ignore deprecation warnings

The cell renderer relies on deprecated functionality, so we need to
disable deprecations for included deprecated headers.
This commit is contained in:
Benjamin Otte 2011-11-08 05:01:32 +01:00
parent 8f8269ad30
commit 7cfe9051cc

View File

@ -34,6 +34,13 @@
#include "gtkicontheme.h"
#include "gtktypebuiltins.h"
#include "gtkintl.h"
#undef GDK_DEPRECATED
#undef GDK_DEPRECATED_FOR
#define GDK_DEPRECATED
#define GDK_DEPRECATED_FOR(f)
#undef GTK_DISABLE_DEPRECATED
#include "deprecated/gtkstyle.h"