[gtk+] spinbutton: Pass the right size
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] spinbutton: Pass the right size
- Date: Mon, 9 Jan 2012 17:54:22 +0000 (UTC)
commit 0e48cc6dae5dd466c9c5a1abeefded6a35326305
Author: Benjamin Otte <otte redhat com>
Date: Fri Jan 6 16:08:05 2012 +0100
spinbutton: Pass the right size
We need a better diffrentiation between icon sizes - ie GtkIconSize vs
pixel size. Or more CSS.
gtk/gtkspinbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index c3ae12a..f805ec2 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]