diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index e00c37650d..33634254a2 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -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); }