diff options
author | Benjamin Otte <otte@redhat.com> | 2020-02-04 04:26:19 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2020-02-04 16:51:54 +0100 |
commit | 138de60ab27691fc5022732566b21634e13d0c3a (patch) | |
tree | 8f0a6682d4034133b64b75659e66d1a098394d0b /gtk/gtkicontheme.h | |
parent | 571021cbc1f8480585db3bbe452578c6b4f880d1 (diff) | |
download | gtk+-138de60ab27691fc5022732566b21634e13d0c3a.tar.gz |
icontheme: Remove GENERIC_FALLBACKS
Instead, rely on people passing fallbacks explicitly.
Alternatively, GThemedIcon provides the functionality to create
fallbacks, which is what GtkImage and the testsuite now use.
That method is slightly better, too, so the expected test results
have been updated accordingly.
Diffstat (limited to 'gtk/gtkicontheme.h')
-rw-r--r-- | gtk/gtkicontheme.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h index d0c360775a..739bc832ba 100644 --- a/gtk/gtkicontheme.h +++ b/gtk/gtkicontheme.h @@ -40,10 +40,6 @@ typedef struct _GtkIconTheme GtkIconTheme; /** * GtkIconLookupFlags: - * @GTK_ICON_LOOKUP_GENERIC_FALLBACK: Try to shorten icon name at '-' - * characters before looking at inherited themes. This flag is only - * supported in functions that take a single icon name. For more general - * fallback, see gtk_icon_theme_choose_icon() * @GTK_ICON_LOOKUP_FORCE_SIZE: Always get the icon scaled to the * requested size * @GTK_ICON_LOOKUP_FORCE_REGULAR: Try to always load regular icons, even @@ -55,10 +51,9 @@ typedef struct _GtkIconTheme GtkIconTheme; */ typedef enum { - GTK_ICON_LOOKUP_GENERIC_FALLBACK = 1 << 0, - GTK_ICON_LOOKUP_FORCE_SIZE = 1 << 1, - GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 2, - GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 3 + GTK_ICON_LOOKUP_FORCE_SIZE = 1 << 0, + GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 1, + GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 2 } GtkIconLookupFlags; /** |