immodule: Disable deprecations before including deprecated header

This commit is contained in:
Benjamin Otte 2011-11-08 14:48:14 +01:00
parent e1f4bd6495
commit f9c664c69b

View File

@ -38,6 +38,12 @@
#include "gtkprivate.h"
#include "gtkintl.h"
#undef GDK_DEPRECATED
#undef GDK_DEPRECATED_FOR
#define GDK_DEPRECATED
#define GDK_DEPRECATED_FOR(f)
#undef GTK_DISABLE_DEPRECATED
#include "deprecated/gtkrc.h"
#define SIMPLE_ID "gtk-im-context-simple"