summaryrefslogtreecommitdiff
path: root/gtk/deprecated/gtkstyle.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-02 01:21:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-11-02 01:21:49 -0400
commit1f827d62149ca14e635894db0e857402740680ed (patch)
treed1eda0b7284f26986b79c8892af2bfbb6f02f277 /gtk/deprecated/gtkstyle.c
parentfeece3c0bb2c17599f085263d0f483cc7f172724 (diff)
downloadgtk+-1f827d62149ca14e635894db0e857402740680ed.tar.gz
Don't warn about deprecations in deprecated/
We know we are deprecated here, no need to warn.
Diffstat (limited to 'gtk/deprecated/gtkstyle.c')
-rw-r--r--gtk/deprecated/gtkstyle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/deprecated/gtkstyle.c b/gtk/deprecated/gtkstyle.c
index dcb222ac1d..2af01e7237 100644
--- a/gtk/deprecated/gtkstyle.c
+++ b/gtk/deprecated/gtkstyle.c
@@ -25,6 +25,9 @@
*/
#include "config.h"
+
+#define GDK_DISABLE_DEPRECATION_WARNINGS
+
#include <math.h>
#include <stdlib.h>
#include <string.h>