[gimp] libgimpwidgets: use the renderer's icon-name in GimpIntComboBox



commit 63c5508d4d775faf8d029169dc00c6a6d2334c87
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 9 02:04:25 2014 +0200

    libgimpwidgets: use the renderer's icon-name in GimpIntComboBox

 libgimpwidgets/gimpintcombobox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpintcombobox.c b/libgimpwidgets/gimpintcombobox.c
index f591abc..4f7ad86 100644
--- a/libgimpwidgets/gimpintcombobox.c
+++ b/libgimpwidgets/gimpintcombobox.c
@@ -707,8 +707,8 @@ gimp_int_combo_box_create_cells (GimpIntComboBox *combo_box)
 
   gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box),
                                   priv->pixbuf_renderer,
-                                  "stock-id", GIMP_INT_STORE_STOCK_ID,
-                                  "pixbuf",   GIMP_INT_STORE_PIXBUF,
+                                  "icon-name", GIMP_INT_STORE_ICON_NAME,
+                                  "pixbuf",    GIMP_INT_STORE_PIXBUF,
                                   NULL);
   gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box),
                                   priv->text_renderer,


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