aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-dialog-utils.c')
-rw-r--r--e-util/e-dialog-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c
index 334375c755..952d73f303 100644
--- a/e-util/e-dialog-utils.c
+++ b/e-util/e-dialog-utils.c
@@ -169,7 +169,7 @@ e_file_can_save(GtkWindow *parent, const gchar *uri)
if (!e_file_check_local(uri))
return TRUE;
- path = e_util_uri_to_filename (uri);
+ path = g_filename_from_uri (uri, NULL, NULL);
if (!path)
return FALSE;
@@ -199,7 +199,7 @@ e_file_check_local (const gchar *name)
{
gchar *uri;
- uri = e_util_uri_to_filename (name);
+ uri = g_filename_to_uri (name, NULL, NULL);
if (uri) {
g_free(uri);
return TRUE;