From f10176e49f71a9e5173d992392eec272e350386d Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 27 Apr 2012 12:39:17 -0400 Subject: [PATCH] Prefer xdg data directory to legacy .icons directory https://bugzilla.gnome.org/show_bug.cgi?id=646631 --- gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);