diff options
author | Benjamin Otte <otte@redhat.com> | 2020-02-04 03:53:22 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-02-04 16:51:54 +0100 |
commit | 571021cbc1f8480585db3bbe452578c6b4f880d1 (patch) | |
tree | 7afaf845a3f490de0217ae675a8bff459c6f2014 /gtk/gtkicontheme.h | |
parent | f7a5dd7b8b5e879b5bb2b8522d7f3b24d51d4c0a (diff) | |
download | gtk+-571021cbc1f8480585db3bbe452578c6b4f880d1.tar.gz |
icontheme: Pass fallbacks as optional argument to lookup_icon()
This way, we can remove gtk_icon_theme_choose_icon() completely.
Diffstat (limited to 'gtk/gtkicontheme.h')
-rw-r--r-- | gtk/gtkicontheme.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h index 2a54f5bbf6..d0c360775a 100644 --- a/gtk/gtkicontheme.h +++ b/gtk/gtkicontheme.h @@ -125,14 +125,8 @@ gint *gtk_icon_theme_get_icon_sizes (GtkIconTheme const gchar *icon_name); GDK_AVAILABLE_IN_ALL GtkIcon * gtk_icon_theme_lookup_icon (GtkIconTheme *self, - const gchar *icon_name, - gint size, - gint scale, - GtkTextDirection direction, - GtkIconLookupFlags flags); -GDK_AVAILABLE_IN_ALL -GtkIcon * gtk_icon_theme_choose_icon (GtkIconTheme *self, - const gchar *icon_names[], + const char *icon_name, + const char *fallbacks[], gint size, gint scale, GtkTextDirection direction, |