summaryrefslogtreecommitdiff
path: root/gtk/gtkhbox.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-07 04:29:52 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-07 04:29:52 +0000
commit285c8f78fc52a07a59593219d8d4f195e3470eb5 (patch)
treecbb882fc545cdd9b379aea4a4afb4627403b1bed /gtk/gtkhbox.h
parent28def5e4ad3ad4998e222f4975fc0e63e89aad65 (diff)
downloadgtk+-285c8f78fc52a07a59593219d8d4f195e3470eb5.tar.gz
Deprecation cleanup
Sun Oct 6 21:23:29 2002 Manish Singh <yosh@gimp.org> * gtk/gtkcontainer.[ch] gtk/gtkbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkhbox.h')
-rw-r--r--gtk/gtkhbox.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkhbox.h b/gtk/gtkhbox.h
index ff78b282ad..600e80cfb1 100644
--- a/gtk/gtkhbox.h
+++ b/gtk/gtkhbox.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_HBOX (gtk_hbox_get_type ())
-#define GTK_HBOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HBOX, GtkHBox))
-#define GTK_HBOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HBOX, GtkHBoxClass))
-#define GTK_IS_HBOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HBOX))
-#define GTK_IS_HBOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HBOX))
-#define GTK_HBOX_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_HBOX, GtkHBoxClass))
+#define GTK_HBOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HBOX, GtkHBox))
+#define GTK_HBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HBOX, GtkHBoxClass))
+#define GTK_IS_HBOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HBOX))
+#define GTK_IS_HBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HBOX))
+#define GTK_HBOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HBOX, GtkHBoxClass))
typedef struct _GtkHBox GtkHBox;
@@ -59,7 +59,7 @@ struct _GtkHBoxClass
};
-GtkType gtk_hbox_get_type (void) G_GNUC_CONST;
+GType gtk_hbox_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_hbox_new (gboolean homogeneous,
gint spacing);