[gtk+] CellRendererPixbuf: Link stock-size doc → IconSize



commit 23f72082358b56ce869733571a386952f944489e
Author: Daniel Boles <dboles src gnome org>
Date:   Wed Nov 22 18:57:48 2017 +0000

    CellRendererPixbuf: Link stock-size doc → IconSize
    
    Add a doc comment for :stock-size in order to link to GtkIconSize.

 gtk/gtkcellrendererpixbuf.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 54c3512..b9cce68 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -185,6 +185,13 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
                                                         GDK_TYPE_TEXTURE,
                                                        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,
                                   PROP_STOCK_SIZE,
                                   g_param_spec_uint ("stock-size",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]