diff options
author | Benjamin Otte <otte@redhat.com> | 2015-10-09 15:41:00 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-10-28 19:44:26 +0100 |
commit | 8ec2362d81db40e5587cd269eb932d15d381b6d1 (patch) | |
tree | e27d52df80fa621cd707a04409242f14fa2fa320 /gtk/gtkicontheme.h | |
parent | 5cffbed165158857867c2bc4d06041444da590ef (diff) | |
download | gtk+-8ec2362d81db40e5587cd269eb932d15d381b6d1.tar.gz |
icontheme: Clarify GENERIC_FALLBACK flag handling
- Add docs explaining that it doesn't work everywhere
- g_warn_if_fail() in the APIs where it doesn't work
Diffstat (limited to 'gtk/gtkicontheme.h')
-rw-r--r-- | gtk/gtkicontheme.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h index e57c95c3dd..7824a46765 100644 --- a/gtk/gtkicontheme.h +++ b/gtk/gtkicontheme.h @@ -109,7 +109,8 @@ struct _GtkIconThemeClass * as well as files. For a builtin icon, gtk_icon_info_get_filename() * is %NULL and you need to call gtk_icon_info_get_builtin_pixbuf(). * @GTK_ICON_LOOKUP_GENERIC_FALLBACK: Try to shorten icon name at '-' - * characters before looking at inherited themes. For more general + * 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(). Since 2.12. * @GTK_ICON_LOOKUP_FORCE_SIZE: Always get the icon scaled to the * requested size. Since 2.14. |