mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
spinbutton: Pass the right size
We need a better diffrentiation between icon sizes - ie GtkIconSize vs pixel size. Or more CSS.
This commit is contained in:
parent
bbf5fe179d
commit
0e48cc6dae
@ -639,7 +639,7 @@ create_one_pixbuf (GtkStyleContext *context,
|
|||||||
GtkIconSet *icon_set;
|
GtkIconSet *icon_set;
|
||||||
|
|
||||||
icon_set = gtk_style_context_lookup_icon_set (context, GTK_STOCK_MISSING_IMAGE);
|
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);
|
g_warning ("Unable to fetch icon %s from the icon theme", icon_name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user