diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-16 16:26:49 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-16 16:26:49 +0000 |
commit | 0329e41742452aec38150ed81520537b9ff71498 (patch) | |
tree | 3fb3defed2bcf1334a40f6280149d418b8f752fd /gtk/gtkcellrendereraccel.h | |
parent | afe9dcfca199a30d779d2ed42dc19ecbe13e0a9f (diff) | |
download | gtk+-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/gtkcellrendereraccel.h')
-rw-r--r-- | gtk/gtkcellrendereraccel.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkcellrendereraccel.h b/gtk/gtkcellrendereraccel.h index 40fa1eee1a..6dc8552859 100644 --- a/gtk/gtkcellrendereraccel.h +++ b/gtk/gtkcellrendereraccel.h @@ -28,12 +28,12 @@ G_BEGIN_DECLS -#define GTK_TYPE_CELL_RENDERER_ACCEL (gtk_cell_renderer_accel_get_type ()) -#define GTK_CELL_RENDERER_ACCEL(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccel)) -#define GTK_CELL_RENDERER_ACCEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccelClass)) -#define GTK_IS_CELL_RENDERER_ACCEL(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CELL_RENDERER_ACCEL)) -#define GTK_IS_CELL_RENDERER_ACCEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_ACCEL)) -#define GTK_CELL_RENDERER_ACCEL_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccelClass)) +#define GTK_TYPE_CELL_RENDERER_ACCEL (gtk_cell_renderer_accel_get_type ()) +#define GTK_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccel)) +#define GTK_CELL_RENDERER_ACCEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccelClass)) +#define GTK_IS_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_ACCEL)) +#define GTK_IS_CELL_RENDERER_ACCEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_ACCEL)) +#define GTK_CELL_RENDERER_ACCEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccelClass)) typedef struct _GtkCellRendererAccel GtkCellRendererAccel; typedef struct _GtkCellRendererAccelClass GtkCellRendererAccelClass; |