mu: remove some unneeded code

Dead code, and replace mu_canonicalize_filename with g_canonicalize_filename.
This commit is contained in:
Dirk-Jan C. Binnema
2021-11-02 22:20:58 +02:00
parent 1242825a46
commit 4e6f2a3c26
5 changed files with 5 additions and 228 deletions

View File

@ -46,22 +46,7 @@ G_BEGIN_DECLS
* @return the expanded path as a newly allocated string, or NULL in
* case of error
*/
char* mu_util_dir_expand (const char* path)
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
/**
* See g_canonicalize_filename
*
* @param filename
* @param relative_to
*
* @return
*/
char *mu_canonicalize_filename (const gchar *filename,
const gchar *relative_to)
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
char* mu_util_dir_expand(const char* path) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
/**
* guess the maildir; first try $MAILDIR; if it is unset or