From 28bc53032b1bea0fe22798a8542f8036d3f735b3 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Thu, 10 Oct 2002 01:02:25 +0000 Subject: Deprecation cleanup Wed Oct 9 17:40:13 2002 Manish Singh * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch] gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup --- gtk/gtkfixed.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk/gtkfixed.h') diff --git a/gtk/gtkfixed.h b/gtk/gtkfixed.h index ba07df8cbb..53fdd80fdd 100644 --- a/gtk/gtkfixed.h +++ b/gtk/gtkfixed.h @@ -38,11 +38,11 @@ extern "C" { #define GTK_TYPE_FIXED (gtk_fixed_get_type ()) -#define GTK_FIXED(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FIXED, GtkFixed)) -#define GTK_FIXED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FIXED, GtkFixedClass)) -#define GTK_IS_FIXED(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FIXED)) -#define GTK_IS_FIXED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FIXED)) -#define GTK_FIXED_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_FIXED, GtkFixedClass)) +#define GTK_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FIXED, GtkFixed)) +#define GTK_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FIXED, GtkFixedClass)) +#define GTK_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FIXED)) +#define GTK_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FIXED)) +#define GTK_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FIXED, GtkFixedClass)) typedef struct _GtkFixed GtkFixed; @@ -69,7 +69,7 @@ struct _GtkFixedChild }; -GtkType gtk_fixed_get_type (void) G_GNUC_CONST; +GType gtk_fixed_get_type (void) G_GNUC_CONST; GtkWidget* gtk_fixed_new (void); void gtk_fixed_put (GtkFixed *fixed, GtkWidget *widget, -- cgit v1.2.1