From 1f77384ab349f078d386ad43ba9b5e3332aa3758 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 22 Oct 2010 17:09:48 +0200 Subject: [PATCH] gtk: undef DISABLE_DEPRECATED around including our own header so we can see our own deprecated API and don't get warnings. --- gtk/gtkviewport.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index 1362df7c01..f91f2efd8d 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -25,11 +25,13 @@ */ #include "config.h" -#include "gtkviewport.h" #include "gtkintl.h" #include "gtkmarshalers.h" #include "gtktypeutils.h" #include "gtkscrollable.h" +#undef GTK_DISABLE_DEPRECATED +#include "gtkviewport.h" +#define GTK_DISABLE_DEPRECATED #include "gtkprivate.h"