gtk: undef DISABLE_DEPRECATED around including our own header

so we can see our own deprecated API and don't get warnings.
This commit is contained in:
Michael Natterer 2010-10-22 17:09:48 +02:00
parent 3dc1f09772
commit 1f77384ab3

View File

@ -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"