build: don't require glib 2.58 for g_canonicalize_file
GLib version is probably still a bit too new, so simply lift the function needed. Fixes: #1712.
This commit is contained in:
@ -110,7 +110,7 @@ init_file_metadata (MuMsgFile *self, const char* path, const gchar* mdir,
|
||||
|
||||
self->_timestamp = statbuf.st_mtime;
|
||||
self->_size = (size_t)statbuf.st_size;
|
||||
self->_path = g_canonicalize_filename(path, NULL);
|
||||
self->_path = mu_canonicalize_filename(path, NULL);
|
||||
self->_maildir = g_strdup(mdir ? mdir : "");
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user