summaryrefslogtreecommitdiff
path: root/modules/input/gtkimcontextxim.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/input/gtkimcontextxim.h')
-rw-r--r--modules/input/gtkimcontextxim.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/input/gtkimcontextxim.h b/modules/input/gtkimcontextxim.h
index a4c98a3c6f..d81a7ff2d1 100644
--- a/modules/input/gtkimcontextxim.h
+++ b/modules/input/gtkimcontextxim.h
@@ -23,9 +23,7 @@
G_BEGIN_DECLS
-extern GType gtk_type_im_context_xim;
-
-#define GTK_TYPE_IM_CONTEXT_XIM (gtk_type_im_context_xim)
+#define GTK_TYPE_IM_CONTEXT_XIM (gtk_im_context_xim_get_type ())
#define GTK_IM_CONTEXT_XIM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_XIM, GtkIMContextXIM))
#define GTK_IM_CONTEXT_XIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_XIM, GtkIMContextXIMClass))
#define GTK_IS_IM_CONTEXT_XIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_XIM))
@@ -41,7 +39,6 @@ struct _GtkIMContextXIMClass
GtkIMContextClass parent_class;
};
-void gtk_im_context_xim_register_type (GTypeModule *type_module);
GtkIMContext *gtk_im_context_xim_new (void);
void gtk_im_context_xim_shutdown (void);