diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2018-11-25 02:27:32 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2018-11-25 02:27:32 +0000 |
| commit | f686d3a0df2c6209afd5045f04a5dab20075ebf5 (patch) | |
| tree | b44181a978e3cbd3444c314873b135999b96ccdd /src/io/resource.cpp | |
| parent | EgeAdjustmentAction: Replace deprecated g_type_class_add_private and adhere t... (diff) | |
| parent | Update snapcraft to build based on bionic (diff) | |
| download | inkscape-f686d3a0df2c6209afd5045f04a5dab20075ebf5.tar.gz inkscape-f686d3a0df2c6209afd5045f04a5dab20075ebf5.zip | |
Merge branch 'master' of gitlab.com:inkscape/inkscape
Diffstat (limited to 'src/io/resource.cpp')
| -rw-r--r-- | src/io/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp index 7ca9e79c3..90b175dc3 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -62,7 +62,7 @@ gchar *_get_path(Domain domain, Type type, char const *filename) case UIS: temp = INKSCAPE_UIDIR; break; case PIXMAPS: temp = INKSCAPE_PIXMAPSDIR; break; #ifdef INKSCAPE_DATADIR - case DATADIR: temp = INKSCAPE_DATADIR; break; + case DATA_DIR: temp = INKSCAPE_DATADIR; break; #endif default: temp = ""; } @@ -99,7 +99,7 @@ gchar *_get_path(Domain domain, Type type, char const *filename) case THEMES: name = "themes"; break; case UIS: name = "ui"; break; case PIXMAPS: name = "pixmaps"; break; - case DATADIR: name = ""; break; + case DATA_DIR: name = ""; break; default: return _get_path(SYSTEM, type, filename); } path = profile_path(name); |
