mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
Silence another compiler warning
Again, our habit of comparing enum values against -1.
This commit is contained in:
parent
70f6faf0f1
commit
6f829d4450
@ -1189,7 +1189,7 @@ gtk_render_icon_pixbuf (GtkStyleContext *context,
|
||||
GtkIconSize size)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_STYLE_CONTEXT (context), NULL);
|
||||
g_return_val_if_fail (size > GTK_ICON_SIZE_INVALID || size == -1, NULL);
|
||||
g_return_val_if_fail (size > GTK_ICON_SIZE_INVALID || size == (GtkIconSize)-1, NULL);
|
||||
g_return_val_if_fail (source != NULL, NULL);
|
||||
|
||||
return gtk_do_render_icon_pixbuf (context, source, size);
|
||||
|
Loading…
Reference in New Issue
Block a user