summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-16 16:26:49 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-16 16:26:49 +0000
commit0329e41742452aec38150ed81520537b9ff71498 (patch)
tree3fb3defed2bcf1334a40f6280149d418b8f752fd /gtk/gtkiconview.h
parentafe9dcfca199a30d779d2ed42dc19ecbe13e0a9f (diff)
downloadgtk+-0329e41742452aec38150ed81520537b9ff71498.tar.gz
gtk/gtkcellrendereraccel.h gtk/gtkiconview.h use G_TYPE macros instead of
2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrendereraccel.h * gtk/gtkiconview.h * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK macros for type checking. (gtk_object_get_type): change prototype to return GType instead of GtkType. svn path=/trunk/; revision=20403
Diffstat (limited to 'gtk/gtkiconview.h')
-rw-r--r--gtk/gtkiconview.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h
index 68d8628f86..234bacc3fb 100644
--- a/gtk/gtkiconview.h
+++ b/gtk/gtkiconview.h
@@ -32,12 +32,12 @@
G_BEGIN_DECLS
-#define GTK_TYPE_ICON_VIEW (gtk_icon_view_get_type ())
-#define GTK_ICON_VIEW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ICON_VIEW, GtkIconView))
-#define GTK_ICON_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_VIEW, GtkIconViewClass))
-#define GTK_IS_ICON_VIEW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ICON_VIEW))
-#define GTK_IS_ICON_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_VIEW))
-#define GTK_ICON_VIEW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_ICON_VIEW, GtkIconViewClass))
+#define GTK_TYPE_ICON_VIEW (gtk_icon_view_get_type ())
+#define GTK_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_VIEW, GtkIconView))
+#define GTK_ICON_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_VIEW, GtkIconViewClass))
+#define GTK_IS_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_VIEW))
+#define GTK_IS_ICON_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_VIEW))
+#define GTK_ICON_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_VIEW, GtkIconViewClass))
typedef struct _GtkIconView GtkIconView;
typedef struct _GtkIconViewClass GtkIconViewClass;