summaryrefslogtreecommitdiff
path: root/gtk/gtkitem.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-09 22:11:08 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-09 22:11:08 +0000
commitfb6a7df846c6f553a2cd3387b12d0027bc986f43 (patch)
tree87c776791d7b8c688bc8695ef095b05d783ed6f1 /gtk/gtkitem.h
parent7eecad56f8757d5e034ab69171b0b3d32d18e6d1 (diff)
downloadgdk-pixbuf-fb6a7df846c6f553a2cd3387b12d0027bc986f43.tar.gz
Deprecation cleanup
Wed Oct 9 15:07:08 2002 Manish Singh <yosh@gimp.org> * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch] gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkitem.h')
-rw-r--r--gtk/gtkitem.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkitem.h b/gtk/gtkitem.h
index 8fc75950a..0cd5fb5e5 100644
--- a/gtk/gtkitem.h
+++ b/gtk/gtkitem.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_ITEM (gtk_item_get_type ())
-#define GTK_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ITEM, GtkItem))
-#define GTK_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ITEM, GtkItemClass))
-#define GTK_IS_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ITEM))
-#define GTK_IS_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ITEM))
-#define GTK_ITEM_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_ITEM, GtkItemClass))
+#define GTK_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ITEM, GtkItem))
+#define GTK_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ITEM, GtkItemClass))
+#define GTK_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ITEM))
+#define GTK_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ITEM))
+#define GTK_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ITEM, GtkItemClass))
typedef struct _GtkItem GtkItem;
@@ -69,10 +69,10 @@ struct _GtkItemClass
};
-GtkType gtk_item_get_type (void) G_GNUC_CONST;
-void gtk_item_select (GtkItem *item);
-void gtk_item_deselect (GtkItem *item);
-void gtk_item_toggle (GtkItem *item);
+GType gtk_item_get_type (void) G_GNUC_CONST;
+void gtk_item_select (GtkItem *item);
+void gtk_item_deselect (GtkItem *item);
+void gtk_item_toggle (GtkItem *item);
#ifdef __cplusplus