summaryrefslogtreecommitdiff
path: root/mate-screenshot/src/screenshot-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-screenshot/src/screenshot-save.c')
-rw-r--r--mate-screenshot/src/screenshot-save.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/mate-screenshot/src/screenshot-save.c b/mate-screenshot/src/screenshot-save.c
index 5b870eec..a26b16ae 100644
--- a/mate-screenshot/src/screenshot-save.c
+++ b/mate-screenshot/src/screenshot-save.c
@@ -262,24 +262,3 @@ screenshot_save_get_filename (void)
{
return tmp_filename;
}
-
-gchar *
-screenshot_sanitize_filename (const char *filename)
-{
- char *retval, *p;
-
- g_assert (filename);
- g_assert (g_utf8_validate (filename, -1, NULL));
-
- retval = g_uri_escape_string (filename,
- "/",
- TRUE);
-
- for (p = retval; *p != '\000'; p = g_utf8_next_char (p))
- {
- if (*p == G_DIR_SEPARATOR)
- *p = '-';
- }
-
- return retval;
-}