CellRendererPixbuf: Link stock-size doc → IconSize

Add a doc comment for :stock-size in order to link to GtkIconSize.
This commit is contained in:
Daniel Boles 2017-11-22 18:57:48 +00:00
parent 7c2e28c8c5
commit 23f7208235

View File

@ -185,6 +185,13 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
GDK_TYPE_TEXTURE, GDK_TYPE_TEXTURE,
GTK_PARAM_READWRITE)); GTK_PARAM_READWRITE));
/**
* GtkCellRendererPixbuf:stock-size:
*
* The #GtkIconSize value that specifies the size of the rendered icon.
*
* Since: 2.2
*/
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_STOCK_SIZE, PROP_STOCK_SIZE,
g_param_spec_uint ("stock-size", g_param_spec_uint ("stock-size",