diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | modules/input/gtkimcontextime.h | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,8 @@ +2008-06-17 Tor Lillqvist <tml@novell.com> + + * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_* + GtkType macros. + 2008-06-17 Michael Natterer <mitch@imendio.com> * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED. diff --git a/modules/input/gtkimcontextime.h b/modules/input/gtkimcontextime.h index 638c11cfb8..fc8577f35d 100644 --- a/modules/input/gtkimcontextime.h +++ b/modules/input/gtkimcontextime.h @@ -26,11 +26,11 @@ extern GType gtk_type_im_context_ime; #define GTK_TYPE_IM_CONTEXT_IME gtk_type_im_context_ime -#define GTK_IM_CONTEXT_IME(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIME)) -#define GTK_IM_CONTEXT_IME_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass)) -#define GTK_IS_IM_CONTEXT_IME(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_IM_CONTEXT_IME)) -#define GTK_IS_IM_CONTEXT_IME_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_IME)) -#define GTK_IM_CONTEXT_IME_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass)) +#define GTK_IM_CONTEXT_IME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIME)) +#define GTK_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass)) +#define GTK_IS_IM_CONTEXT_IME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_IME)) +#define GTK_IS_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_IME)) +#define GTK_IM_CONTEXT_IME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass)) typedef struct _GtkIMContextIME GtkIMContextIME; typedef struct _GtkIMContextIMEPrivate GtkIMContextIMEPrivate; |