From 1f827d62149ca14e635894db0e857402740680ed Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 2 Nov 2011 01:21:49 -0400 Subject: [PATCH] Don't warn about deprecations in deprecated/ We know we are deprecated here, no need to warn. --- gtk/deprecated/gtkfontsel.c | 2 ++ gtk/deprecated/gtkstyle.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/gtk/deprecated/gtkfontsel.c b/gtk/deprecated/gtkfontsel.c index 10625fb4e5..e2f715610a 100644 --- a/gtk/deprecated/gtkfontsel.c +++ b/gtk/deprecated/gtkfontsel.c @@ -31,6 +31,8 @@ #include "config.h" +#define GDK_DISABLE_DEPRECATION_WARNINGS + #include #include #include 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 #include #include