mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
b6f7f37427
In order to make xdgmime properly relocatable so that unit tests can use it without it reading and modifying the user’s actual xdgmime files, and without the need to call setenv() (and get tied up with thread safety problems), add a xdg_mime_set_dirs() method to allow the dirs to be overridden. They will still default to the values of $XDG_DATA_HOME and $XDG_DATA_DIRS. Signed-off-by: Philip Withnall <withnall@endlessm.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
meson.build | ||
xdgmime.c | ||
xdgmime.h | ||
xdgmimealias.c | ||
xdgmimealias.h | ||
xdgmimecache.c | ||
xdgmimecache.h | ||
xdgmimeglob.c | ||
xdgmimeglob.h | ||
xdgmimeicon.c | ||
xdgmimeicon.h | ||
xdgmimeint.c | ||
xdgmimeint.h | ||
xdgmimemagic.c | ||
xdgmimemagic.h | ||
xdgmimeparent.c | ||
xdgmimeparent.h |