Always insist on at least 1px, even if the thumbnail we're turning into
an icon was 256 * 3 and should be scaled to 32 * 3/8.
else
{
GdkPixbuf *scaled = 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);
icon_info->texture = gdk_texture_new_for_pixbuf (scaled);
g_object_unref (scaled);