summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.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/gtkbox.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/gtkbox.h')
-rw-r--r--gtk/gtkbox.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h
index 9d5ca4b38c..58b163ff59 100644
--- a/gtk/gtkbox.h
+++ b/gtk/gtkbox.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_BOX (gtk_box_get_type ())
-#define GTK_BOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BOX, GtkBox))
-#define GTK_BOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BOX, GtkBoxClass))
-#define GTK_IS_BOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BOX))
-#define GTK_IS_BOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOX))
-#define GTK_BOX_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_BOX, GtkBoxClass))
+#define GTK_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BOX, GtkBox))
+#define GTK_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BOX, GtkBoxClass))
+#define GTK_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BOX))
+#define GTK_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOX))
+#define GTK_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BOX, GtkBoxClass))
typedef struct _GtkBox GtkBox;
@@ -74,7 +74,7 @@ struct _GtkBoxChild
};
-GtkType gtk_box_get_type (void) G_GNUC_CONST;
+GType gtk_box_get_type (void) G_GNUC_CONST;
void gtk_box_pack_start (GtkBox *box,
GtkWidget *child,
gboolean expand,