diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-04-27 12:39:17 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-04-30 06:42:34 -0400 |
commit | f10176e49f71a9e5173d992392eec272e350386d (patch) | |
tree | c71c6e7778aab089f3c475319215d84d176951c8 /gtk/gtkicontheme.c | |
parent | 9f5e580821d3181e2aa2ccfb5488d1b8ae1b0ffb (diff) | |
download | gtk+-f10176e49f71a9e5173d992392eec272e350386d.tar.gz |
Prefer xdg data directory to legacy .icons directory
https://bugzilla.gnome.org/show_bug.cgi?id=646631
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 ec26bddb91..0f2d8117f2 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -661,8 +661,8 @@ gtk_icon_theme_init (GtkIconTheme *icon_theme) priv->search_path = g_new (char *, priv->search_path_len); i = 0; - priv->search_path[i++] = g_build_filename (g_get_home_dir (), ".icons", NULL); priv->search_path[i++] = g_build_filename (g_get_user_data_dir (), "icons", NULL); + priv->search_path[i++] = g_build_filename (g_get_home_dir (), ".icons", NULL); for (j = 0; xdg_data_dirs[j]; j++) priv->search_path[i++] = g_build_filename (xdg_data_dirs[j], "icons", NULL); |