diff options
author | Michael Natterer <mitch@gimp.org> | 2010-10-22 17:09:48 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2010-10-22 17:10:49 +0200 |
commit | 1f77384ab349f078d386ad43ba9b5e3332aa3758 (patch) | |
tree | f92c765afcbedf2e1afbf56f835d818ca366471a /gtk/gtkviewport.c | |
parent | 3dc1f097728260a653ef458ab5a639330686e6da (diff) | |
download | gtk+-1f77384ab349f078d386ad43ba9b5e3332aa3758.tar.gz |
gtk: undef DISABLE_DEPRECATED around including our own header
so we can see our own deprecated API and don't get warnings.
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r-- | gtk/gtkviewport.c | 4 |
1 files changed, 3 insertions, 1 deletions
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" |