forked from AuroraMiddleware/gtk
More of the same
A similar case in GtkIconHelper. Here we were confusing ourselves, and compared a icon_size against -1, although the variable is never set to -1.
This commit is contained in:
parent
543eae0d76
commit
ddf7501acd
@ -876,7 +876,7 @@ _gtk_icon_helper_get_size (GtkIconHelper *self,
|
||||
width = gdk_pixbuf_animation_get_width (self->priv->animation);
|
||||
height = gdk_pixbuf_animation_get_height (self->priv->animation);
|
||||
}
|
||||
else if (self->priv->icon_size != -1)
|
||||
else if (self->priv->icon_size != GTK_ICON_SIZE_INVALID)
|
||||
{
|
||||
ensure_icon_size (self, context, &width, &height);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user