[gtk+] iconhelper: Don't pass GENERIC_FALLBACK flag
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] iconhelper: Don't pass GENERIC_FALLBACK flag
- Date: Wed, 28 Oct 2015 18:56:37 +0000 (UTC)
commit 5cffbed165158857867c2bc4d06041444da590ef
Author: Benjamin Otte <otte redhat com>
Date: Fri Oct 9 15:42:58 2015 +0200
iconhelper: Don't pass GENERIC_FALLBACK flag
It's not used when looking up with a GIcon.
gtk/gtkiconhelper.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c
index dfc95ff..3ca8ec9 100644
--- a/gtk/gtkiconhelper.c
+++ b/gtk/gtkiconhelper.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]