summaryrefslogtreecommitdiff
path: root/gtk/gtkbin.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-04 23:50:27 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-04 23:50:27 +0000
commit2ffa58f11d0fdfdee4859f37dd69bcec21b34e41 (patch)
tree48127a3db81fb37f274d8ca497e68f9e6d0fe64f /gtk/gtkbin.h
parent2aa899147773436da85d0b43711c526c3ee8cf99 (diff)
downloadgtk+-2ffa58f11d0fdfdee4859f37dd69bcec21b34e41.tar.gz
Deprecation cleanup
Fri Oct 4 16:48:27 2002 Manish Singh <yosh@gimp.org> * gtkaspectframe.[ch] gtkbin.[ch] gtkframe.[ch] gtkhruler.[ch] gtkruler.[ch] gtkvruler.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkbin.h')
-rw-r--r--gtk/gtkbin.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkbin.h b/gtk/gtkbin.h
index 3b914013f5..89b61a4196 100644
--- a/gtk/gtkbin.h
+++ b/gtk/gtkbin.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_BIN (gtk_bin_get_type ())
-#define GTK_BIN(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BIN, GtkBin))
-#define GTK_BIN_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass))
-#define GTK_IS_BIN(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BIN))
-#define GTK_IS_BIN_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN))
-#define GTK_BIN_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_BIN, GtkBinClass))
+#define GTK_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BIN, GtkBin))
+#define GTK_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass))
+#define GTK_IS_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BIN))
+#define GTK_IS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN))
+#define GTK_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BIN, GtkBinClass))
typedef struct _GtkBin GtkBin;
@@ -61,7 +61,7 @@ struct _GtkBinClass
};
-GtkType gtk_bin_get_type (void) G_GNUC_CONST;
+GType gtk_bin_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_bin_get_child (GtkBin *bin);