- g_type_class_add_private (object_class, sizeof (GtkCellRendererPixbufPrivate));
-}
-
-static void
-gtk_cell_renderer_pixbuf_finalize (GObject *object)
-{
- GtkCellRendererPixbuf *cellpixbuf = GTK_CELL_RENDERER_PIXBUF (object);
- GtkCellRendererPixbufPrivate *priv;
-
- priv = GTK_CELL_RENDERER_PIXBUF_GET_PRIVATE (object);
+
+ /**
+ * GtkCellRendererPixbuf:icon-name:
+ *
+ * The name of the themed icon to display.
+ * This property only has an effect if not overridden by "stock_id"
+ * or "pixbuf" properties.
+ *
+ * Since: 2.8
+ */
+ g_object_class_install_property (object_class,
+ PROP_ICON_NAME,
+ g_param_spec_string ("icon-name",
+ P_("Icon Name"),
+ P_("The name of the icon from the icon theme"),
+ NULL,
+ GTK_PARAM_READWRITE));
+
+ /**
+ * GtkCellRendererPixbuf:follow-state:
+ *
+ * Specifies whether the rendered pixbuf should be colorized
+ * according to the #GtkCellRendererState.
+ *
+ * Since: 2.8
+ */
+ g_object_class_install_property (object_class,
+ PROP_FOLLOW_STATE,
+ g_param_spec_boolean ("follow-state",
+ P_("Follow State"),
+ P_("Whether the rendered pixbuf should be "
+ "colorized according to the state"),
+ FALSE,
+ GTK_PARAM_READWRITE));
+
+ /**
+ * GtkCellRendererPixbuf:gicon:
+ *
+ * The GIcon representing the icon to display.
+ * If the icon theme is changed, the image will be updated
+ * automatically.
+ *
+ * Since: 2.14
+ */
+ g_object_class_install_property (object_class,
+ PROP_GICON,
+ g_param_spec_object ("gicon",
+ P_("Icon"),
+ P_("The GIcon being displayed"),
+ G_TYPE_ICON,
+ GTK_PARAM_READWRITE));