diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-08 14:48:14 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-11-08 21:14:05 +0100 |
commit | f9c664c69bf079d804821fe15ea3253b508532b2 (patch) | |
tree | 13c7ad7bc483c20b959e4849031d1e65fe456fc6 /gtk/gtkimmodule.c | |
parent | e1f4bd6495055b85e16e0a1d905d76b4da42e906 (diff) | |
download | gtk+-f9c664c69bf079d804821fe15ea3253b508532b2.tar.gz |
immodule: Disable deprecations before including deprecated header
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r-- | gtk/gtkimmodule.c | 6 |
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" |