diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkstyle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index b430730171..a88765196a 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -1900,7 +1900,7 @@ gtk_default_render_icon (GtkStyle *style, g_return_val_if_fail (base_pixbuf != NULL, NULL); - if (!gtk_icon_size_lookup (size, &width, &height)) + if (size != (GtkIconSize) -1 && !gtk_icon_size_lookup (size, &width, &height)) { g_warning (G_STRLOC ": invalid icon size `%d'", size); return NULL; |