summaryrefslogtreecommitdiff
path: root/eel/eel-vfs-extensions.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-19 16:52:30 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-19 16:52:30 +0200
commit2f202206fee4e1917494e3f4652e22648097c765 (patch)
treefa460bbe865bda70a328daa4d6213360ac7d3f62 /eel/eel-vfs-extensions.c
parent230581b5d58650c1f50f7d9fda9ab3a1f211361a (diff)
downloadnautilus-2f202206fee4e1917494e3f4652e22648097c765.tar.gz
[eel] cleanup eel-vfs-extensions
Diffstat (limited to 'eel/eel-vfs-extensions.c')
-rw-r--r--eel/eel-vfs-extensions.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/eel/eel-vfs-extensions.c b/eel/eel-vfs-extensions.c
index 653a3e408..7a11874ef 100644
--- a/eel/eel-vfs-extensions.c
+++ b/eel/eel-vfs-extensions.c
@@ -96,34 +96,6 @@ eel_make_valid_utf8 (const char *name)
return g_string_free (string, FALSE);
}
-/**
- * eel_format_uri_for_display:
- *
- * Filter, modify, unescape and change URIs to make them appropriate
- * to display to users. The conversion is done such that the roundtrip
- * to UTf8 is reversible.
- *
- * Rules:
- * file: URI's without fragments should appear as local paths
- * file: URI's with fragments should appear as file: URI's
- * All other URI's appear as expected
- *
- * @uri: a URI
- *
- * returns a g_malloc'd UTF8 string
- **/
-char *
-eel_format_uri_for_display (const char *uri)
-{
- GFile *file;
- char *res;
-
- file = g_file_new_for_uri (uri);
- res = g_file_get_parse_name (file);
- g_object_unref (file);
- return res;
-}
-
char *
eel_filename_strip_extension (const char * filename_with_extension)
{