iconhelper: Don't pass GENERIC_FALLBACK flag

It's not used when looking up with a GIcon.
This commit is contained in:
Benjamin Otte 2015-10-09 15:42:58 +02:00
parent a58d8bdcbc
commit 5cffbed165

View File

@ -269,8 +269,6 @@ get_icon_lookup_flags (GtkIconHelper *self, GtkStyleContext *context)
state = gtk_style_context_get_state (context);
flags = GTK_ICON_LOOKUP_USE_BUILTIN;
if (self->priv->use_fallback)
flags |= GTK_ICON_LOOKUP_GENERIC_FALLBACK;
if (self->priv->pixel_size != -1 || self->priv->force_scale_pixbuf)
flags |= GTK_ICON_LOOKUP_FORCE_SIZE;