diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-30 16:23:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-30 16:23:28 -0400 |
commit | c2a22feb2736252d95648761e16d0eb3a841bbfb (patch) | |
tree | 4ccdeb824095fdb6ec92efdffba54f78f7ca713d /gtk/gtkicontheme.c | |
parent | c28d938a242849354fc354468db25460c60dd849 (diff) | |
download | gtk+-c2a22feb2736252d95648761e16d0eb3a841bbfb.tar.gz |
Drop an extra dir from builtin icons
Make icon lookup from resources work without the extra hicolor
component in the path. It is redundant, since we always treat
builtin icons as part of hicolor anyway.
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 360e244185..3e6e2e0144 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3265,7 +3265,7 @@ theme_subdir_load (GtkIconTheme *icon_theme, { for (d = icon_theme->priv->resource_paths; d; d = d->next) { - full_dir = g_build_filename ((const gchar *)d->data, theme->name, subdir, NULL); + full_dir = g_build_filename ((const gchar *)d->data, subdir, NULL); dir = g_new0 (IconThemeDir, 1); dir->type = type; dir->is_resource = TRUE; |