diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-12 20:29:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-12 20:38:28 -0400 |
commit | e47322ee43304f5962db007277e8dea87716f5cd (patch) | |
tree | 24cf563d77710c27ddcccbe19083429c4aa77da9 /gtk/gtkicontheme.c | |
parent | b24f6fa928ca9e17943fc29c46ea300d1467b00a (diff) | |
download | gtk+-wip/css-icons.tar.gz |
Add tests for rtl icons and lookup orderwip/css-icons
Add tests for GTK_ICON_LOOKUP_DIR_RTL/LTR and tests that
verify the expected lookup order between -symbolic,
-rtl/-ltr and generic fallback.
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 1ad6953c65..dd0627404a 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1643,6 +1643,11 @@ real_choose_icon (GtkIconTheme *icon_theme, use_builtin = flags & GTK_ICON_LOOKUP_USE_BUILTIN; + /* This is used in the icontheme unit test */ + GTK_NOTE (ICONTHEME, + for (i = 0; icon_names[i]; i++) + g_print ("\tlookup name: %s\n", icon_names[i])); + /* for symbolic icons, do a search in all registered themes first; * a theme that inherits them from a parent theme might provide * an alternative highcolor version, but still expect the symbolic icon |