forked from AuroraMiddleware/gtk
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:
parent
8f8269ad30
commit
7cfe9051cc
@ -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"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user