aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-06 11:38:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-06 12:26:32 +0800
commit23c781c2475b144a365eaf50dffb88986899b4c8 (patch)
tree642be4d288b2e532c70791090672a67918602077 /e-util/e-dialog-utils.c
parentf2e75c5d13a0899b042e7c7f60639be19871f7ca (diff)
downloadgsoc2013-evolution-23c781c2475b144a365eaf50dffb88986899b4c8.tar.gz
gsoc2013-evolution-23c781c2475b144a365eaf50dffb88986899b4c8.tar.zst
gsoc2013-evolution-23c781c2475b144a365eaf50dffb88986899b4c8.zip
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().
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;