diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-03-22 15:14:42 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-03-22 15:14:42 -0400 |
commit | ddf7501acd2169f09d773e037b20889dfe89ab2f (patch) | |
tree | 6234a48332fd0cf18191196abfd58a79cb54fbab | |
parent | 543eae0d76a3aa1471aca9146a32d9bfad3adfd2 (diff) | |
download | gtk+-ddf7501acd2169f09d773e037b20889dfe89ab2f.tar.gz |
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.
-rw-r--r-- | gtk/gtkiconhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index b9b88ec81e..7d42cb83f5 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -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); } |