summaryrefslogtreecommitdiff
path: root/modules/input/gtkimcontextxim.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-17 14:58:10 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-17 14:58:10 +0000
commit0b9ee4a431caa6600d58ffee66af428f33a9286f (patch)
tree62581963161baa742f354f0ca127f89b24daa837 /modules/input/gtkimcontextxim.h
parente96a8806215e52b2324b749ff686032a38c83792 (diff)
downloadgtk+-0b9ee4a431caa6600d58ffee66af428f33a9286f.tar.gz
modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.h
2008-06-17 Michael Natterer <mitch@imendio.com> * modules/input/gtkimcontextmultipress.h * modules/input/gtkimcontextthai.h * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK type checking macros. svn path=/trunk/; revision=20430
Diffstat (limited to 'modules/input/gtkimcontextxim.h')
-rw-r--r--modules/input/gtkimcontextxim.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/modules/input/gtkimcontextxim.h b/modules/input/gtkimcontextxim.h
index 36c77cd2ef..66dab9c6d2 100644
--- a/modules/input/gtkimcontextxim.h
+++ b/modules/input/gtkimcontextxim.h
@@ -27,12 +27,12 @@ G_BEGIN_DECLS
extern GType gtk_type_im_context_xim;
-#define GTK_TYPE_IM_CONTEXT_XIM gtk_type_im_context_xim
-#define GTK_IM_CONTEXT_XIM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_IM_CONTEXT_XIM, GtkIMContextXIM))
-#define GTK_IM_CONTEXT_XIM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_XIM, GtkIMContextXIMClass))
-#define GTK_IS_IM_CONTEXT_XIM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_IM_CONTEXT_XIM))
-#define GTK_IS_IM_CONTEXT_XIM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_XIM))
-#define GTK_IM_CONTEXT_XIM_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_XIM, GtkIMContextXIMClass))
+#define GTK_TYPE_IM_CONTEXT_XIM (gtk_type_im_context_xim)
+#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))
+#define GTK_IS_IM_CONTEXT_XIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_XIM))
+#define GTK_IM_CONTEXT_XIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_XIM, GtkIMContextXIMClass))
typedef struct _GtkIMContextXIM GtkIMContextXIM;
@@ -50,5 +50,4 @@ void gtk_im_context_xim_shutdown (void);
G_END_DECLS
-
#endif /* __GTK_IM_CONTEXT_XIM_H__ */