diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-10 00:37:13 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-10 00:44:20 +0000 |
| commit | 50f63d05be34c63fad22b5c7ced9dae2b2611cca (patch) | |
| tree | e5a25b83a264cc817d673077a649c4668ecffc88 /src | |
| parent | Save default template as "default.$lang.svg" if present (diff) | |
| download | inkscape-50f63d05be34c63fad22b5c7ced9dae2b2611cca.tar.gz inkscape-50f63d05be34c63fad22b5c7ced9dae2b2611cca.zip | |
Remove INKSCAPE_PORTABLE_PROFILE_DIR
Please use the (functionally identical) INKSCAPE_PROFILE_DIR instead.
See also
https://gitlab.com/inkscape/inkscape/issues/114
Diffstat (limited to 'src')
| -rw-r--r-- | src/io/resource.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp index ff934b2c5..7d41acf65 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -375,14 +375,8 @@ char *profile_path(const char *filename) { static const gchar *prefdir = nullptr; - if (!prefdir) { - // First check for a custom environment variable for a "portable app" - gchar const *val = g_getenv("INKSCAPE_PORTABLE_PROFILE_DIR"); - if (val) { - prefdir = g_strdup(val); - } - // Then check for a custom user environment variable + // Check if profile directory is overriden using environment variable gchar const *userenv = g_getenv("INKSCAPE_PROFILE_DIR"); if (userenv) { prefdir = g_strdup(userenv); |
