]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-file-helpers.c
[comics] Fixes handling of the tmp folder
[evince.git] / libdocument / ev-file-helpers.c
index 67e884a4ee4e47959c135dc3bfb0a4dae7f10ba8..3da4a59832d5031bedac8c19a00c3ef62fc4686b 100644 (file)
@@ -122,6 +122,12 @@ ev_tmp_filename (const gchar *prefix)
        return filename;
 }
 
+gchar * 
+ev_tmp_directory (const gchar *prefix) 
+{
+       return ev_tmp_filename (prefix ? prefix : "directory");
+}
+
 /* Remove a local temp file created by evince */
 void
 ev_tmp_filename_unlink (const gchar *filename)