diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index eab7e16..1409671 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -433,7 +433,7 @@ delete_file (GFile *dir,
 		char *path;
 		
 		path = g_strconcat (g_file_get_path (dir), G_DIR_SEPARATOR_S,
-				    g_file_info_get_edit_name (file_info),
+				    g_file_info_get_name (file_info),
 				    NULL);
 		if (g_unlink (path) < 0)
 		{
@@ -863,7 +863,7 @@ ephy_favicon_cache_clear (EphyFaviconCache *cache)
 	/* Now remove any remaining files from the cache directory */
 	dir = g_file_new_for_path (priv->directory);
 	file_enum = g_file_enumerate_children (dir,
-					       "standard::type,standard::edit-name,"
+					       "standard::type,standard::name,"
 					       "standard::content-type",
 					       0, NULL, NULL);
 	file_info = g_file_enumerator_next_file (file_enum, NULL, NULL);
