summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-01-04 21:22:11 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-01-04 21:32:19 -0500
commitf63e8edec68a158910f5f971b5f47cb9b51825cb (patch)
tree1cfd1704203bd8af8fd4879db749af94e8a0bc45 /gtk/gtkiconhelperprivate.h
parentb387a966ce0dd7e1815735e75494c73be0ea92de (diff)
downloadgtk+-f63e8edec68a158910f5f971b5f47cb9b51825cb.tar.gz
Make sure icons update on theme change
Gadgets don't connect to style-changed for widget nodes, and GtkImage uses its widget node for the icon helper. The visible effect of this is that symbolic icons don't change color when switching to the dark variant of Adwaita. Fix this by manually invalidating the icon helper.
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index 291fb40e16..f4bdcd4817 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -138,6 +138,7 @@ gboolean _gtk_icon_helper_get_force_scale_pixbuf (GtkIconHelper *self);
void _gtk_icon_helper_set_force_scale_pixbuf (GtkIconHelper *self,
gboolean force_scale);
+void gtk_icon_helper_invalidate (GtkIconHelper *self);
G_END_DECLS