diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index 17ec14018c..af2f94d2fe 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -86,6 +86,21 @@ enum { PROP_GICON }; +typedef struct _GtkCellRendererPixbufPrivate GtkCellRendererPixbufPrivate; +typedef struct _GtkCellRendererPixbufClass GtkCellRendererPixbufClass; + +struct _GtkCellRendererPixbuf +{ + GtkCellRenderer parent; + + /*< private >*/ + GtkCellRendererPixbufPrivate *priv; +}; + +struct _GtkCellRendererPixbufClass +{ + GtkCellRendererClass parent_class; +}; struct _GtkCellRendererPixbufPrivate { diff --git a/gtk/gtkcellrendererpixbuf.h b/gtk/gtkcellrendererpixbuf.h index 83fadce375..1089cd749b 100644 --- a/gtk/gtkcellrendererpixbuf.h +++ b/gtk/gtkcellrendererpixbuf.h @@ -30,33 +30,9 @@ G_BEGIN_DECLS #define GTK_TYPE_CELL_RENDERER_PIXBUF (gtk_cell_renderer_pixbuf_get_type ()) #define GTK_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbuf)) -#define GTK_CELL_RENDERER_PIXBUF_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbufClass)) #define GTK_IS_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF)) -#define GTK_IS_CELL_RENDERER_PIXBUF_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PIXBUF)) -#define GTK_CELL_RENDERER_PIXBUF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbufClass)) typedef struct _GtkCellRendererPixbuf GtkCellRendererPixbuf; -typedef struct _GtkCellRendererPixbufPrivate GtkCellRendererPixbufPrivate; -typedef struct _GtkCellRendererPixbufClass GtkCellRendererPixbufClass; - -struct _GtkCellRendererPixbuf -{ - GtkCellRenderer parent; - - /*< private >*/ - GtkCellRendererPixbufPrivate *priv; -}; - -struct _GtkCellRendererPixbufClass -{ - GtkCellRendererClass parent_class; - - /* Padding for future expansion */ - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); - void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); -}; GDK_AVAILABLE_IN_ALL GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST;