summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-06-30 16:23:28 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-06-30 16:23:28 -0400
commitc2a22feb2736252d95648761e16d0eb3a841bbfb (patch)
tree4ccdeb824095fdb6ec92efdffba54f78f7ca713d /gtk/gtkicontheme.c
parentc28d938a242849354fc354468db25460c60dd849 (diff)
downloadgtk+-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.c2
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;