summaryrefslogtreecommitdiff
path: root/gtk/gtkimmodule.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-11-08 14:48:14 +0100
committerBenjamin Otte <otte@redhat.com>2011-11-08 21:14:05 +0100
commitf9c664c69bf079d804821fe15ea3253b508532b2 (patch)
tree13c7ad7bc483c20b959e4849031d1e65fe456fc6 /gtk/gtkimmodule.c
parente1f4bd6495055b85e16e0a1d905d76b4da42e906 (diff)
downloadgtk+-f9c664c69bf079d804821fe15ea3253b508532b2.tar.gz
immodule: Disable deprecations before including deprecated header
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r--gtk/gtkimmodule.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index fc90c227da..cf1c4bb624 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -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"