forked from AuroraMiddleware/gtk
Merge branch 'cherry-pick-6769db16' into 'gtk-3-24'
icontheme: Don't try to scale pixbufs to 0px See merge request GNOME/gtk!1275
This commit is contained in:
commit
6116c0a0b4
@ -4026,8 +4026,8 @@ icon_info_ensure_scale_and_pixbuf (GtkIconInfo *icon_info)
|
||||
else
|
||||
{
|
||||
icon_info->pixbuf = gdk_pixbuf_scale_simple (source_pixbuf,
|
||||
0.5 + image_width * icon_info->scale,
|
||||
0.5 + image_height * icon_info->scale,
|
||||
MAX (1, 0.5 + image_width * icon_info->scale),
|
||||
MAX (1, 0.5 + image_height * icon_info->scale),
|
||||
GDK_INTERP_BILINEAR);
|
||||
g_object_unref (source_pixbuf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user