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