summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-01-28 12:06:55 +0100
committerAlexander Larsson <alexl@redhat.com>2020-01-29 19:06:16 +0100
commit6ffb54f47f593c6fcfd2d647084fd4448c6829bf (patch)
treef30569d4496b9e469b8db1bdf222a21ab8e041cb /gtk/gtkicontheme.h
parentafa6cc23692f83f0d38de24c9cf58a7a494c01d2 (diff)
downloadgtk+-6ffb54f47f593c6fcfd2d647084fd4448c6829bf.tar.gz
icon-theme: Add gtk_icon_info_download_colored_texture()
This is a way to get at recolored pixels and will replace all existing users of _load_symbolic*()
Diffstat (limited to 'gtk/gtkicontheme.h')
-rw-r--r--gtk/gtkicontheme.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index dee4b114ca..c938156117 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -216,6 +216,13 @@ gboolean gtk_icon_info_is_symbolic (GtkIconInfo *self);
GDK_AVAILABLE_IN_ALL
GdkTexture * gtk_icon_info_download_texture (GtkIconInfo *self,
GError **error);
+GDK_AVAILABLE_IN_ALL
+GdkTexture * gtk_icon_info_download_colored_texture (GtkIconInfo *self,
+ const GdkRGBA *foreground_color,
+ const GdkRGBA *success_color,
+ const GdkRGBA *warning_color,
+ const GdkRGBA *error_color,
+ GError **error);
GDK_AVAILABLE_IN_ALL
void gtk_icon_info_snapshot_with_colors (GtkIconInfo *icon_info,