summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-06 16:08:05 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:58 +0100
commit0e48cc6dae5dd466c9c5a1abeefded6a35326305 (patch)
treec0bc7f932aa737107bf9a477acc92f7eb3f4c386 /gtk/gtkspinbutton.c
parentbbf5fe179d88bdd16bd2addcbf8509e9a210ac05 (diff)
downloadgtk+-0e48cc6dae5dd466c9c5a1abeefded6a35326305.tar.gz
spinbutton: Pass the right size
We need a better diffrentiation between icon sizes - ie GtkIconSize vs pixel size. Or more CSS.
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r--gtk/gtkspinbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index c3ae12a13d..f805ec274f 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -639,7 +639,7 @@ create_one_pixbuf (GtkStyleContext *context,
GtkIconSet *icon_set;
icon_set = gtk_style_context_lookup_icon_set (context, GTK_STOCK_MISSING_IMAGE);
- pix = gtk_icon_set_render_icon_pixbuf (icon_set, context, size);
+ pix = gtk_icon_set_render_icon_pixbuf (icon_set, context, GTK_ICON_SIZE_MENU);
g_warning ("Unable to fetch icon %s from the icon theme", icon_name);
}