Commit 661a13fe authored by Carlos Garnacho's avatar Carlos Garnacho

GtkStyleContext: Fix check for GtkIconSize in render_icon_pixbuf().

parent 405f2f30
......@@ -3298,7 +3298,7 @@ gtk_render_icon_pixbuf (GtkStyleContext *context,
GtkThemingEngineClass *engine_class;
g_return_val_if_fail (GTK_IS_STYLE_CONTEXT (context), NULL);
g_return_val_if_fail (size >= -1, NULL);
g_return_val_if_fail (size == -1 || size <= GTK_ICON_SIZE_DIALOG, NULL);
g_return_val_if_fail (source != NULL, NULL);
priv = context->priv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment