summaryrefslogtreecommitdiff
path: root/gtk/queryimmodules.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-11-08 22:18:32 +0100
committerBenjamin Otte <otte@redhat.com>2011-11-09 03:23:43 +0100
commit439b9a3b1d3b49448b74b21f7405513964e6f2fe (patch)
treeb412901d6c13b7444f9063032abafde1073af685 /gtk/queryimmodules.c
parent5ca2f0689391bfaa6ef32e6c7c1225d5d3a9751b (diff)
downloadgtk+-439b9a3b1d3b49448b74b21f7405513964e6f2fe.tar.gz
queryimmodules: Actually fix deprecation warnings
The previous patch still caused warnings. Ooops. That's what you get for not compiling with -Werror.
Diffstat (limited to 'gtk/queryimmodules.c')
-rw-r--r--gtk/queryimmodules.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/queryimmodules.c b/gtk/queryimmodules.c
index 51f1162114..2ff3f91d20 100644
--- a/gtk/queryimmodules.c
+++ b/gtk/queryimmodules.c
@@ -23,7 +23,6 @@
#include <glib.h>
#include <glib/gprintf.h>
-#include <gmodule.h>
#include <errno.h>
#include <string.h>
@@ -37,13 +36,10 @@
#define SOEXT ("." G_MODULE_SUFFIX)
#endif
-#include "gtk/gtkimmodule.h"
+#include "gtk/gtkimcontextinfo.h"
#include "gtk/gtkversion.h"
-#undef GDK_DEPRECATED
-#undef GDK_DEPRECATED_FOR
-#define GDK_DEPRECATED
-#define GDK_DEPRECATED_FOR(f)
+#define GDK_DISABLE_DEPRECATION_WARNINGS
#undef GTK_DISABLE_DEPRECATED
#include "gtk/deprecated/gtkrc.h"