From 1933bfdf176fa48b27e70c2c3d541792db070f10 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 14 Feb 2011 11:16:15 +0000 Subject: [PATCH] background: Use correct cache directory --- panels/background/cc-background-panel.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c index 015afbc24..75387138b 100644 --- a/panels/background/cc-background-panel.c +++ b/panels/background/cc-background-panel.c @@ -455,10 +455,7 @@ backgrounds_changed_cb (GtkIconView *icon_view, gchar *cache_path; GdkPixbuf *pixbuf; - /* FIXME we want a URI here */ - cache_path = g_build_filename (g_get_user_cache_dir (), - "gnome-background", - NULL); + cache_path = bg_pictures_get_cache_path (); source = g_file_new_for_uri (cc_background_item_get_source_url (item)); dest = g_file_new_for_path (cache_path);