From 23c781c2475b144a365eaf50dffb88986899b4c8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 5 Nov 2009 22:38:08 -0500 Subject: Remove redundant URI/filename conversion functions. Use g_filename_to_uri() instead of e_util_filename_to_uri(). Use g_filename_from_uri() instead of e_util_uri_to_filename(). --- e-util/e-dialog-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e-util/e-dialog-utils.c') 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; -- cgit