diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-31 16:36:12 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-31 16:36:12 +0000 |
| commit | 75ba3f4238ffbf85dd55429bab97b67799a64109 (patch) | |
| tree | 23423ece3b2838b942c986f9b6a7ad6b7f9e45ac /src | |
| parent | Aspell: No need to explicitly set prefix anymore (diff) | |
| download | inkscape-75ba3f4238ffbf85dd55429bab97b67799a64109.tar.gz inkscape-75ba3f4238ffbf85dd55429bab97b67799a64109.zip | |
Remove unused INKSCAPE_APPICONDIR and INKSCAPE_BINDDIR
Diffstat (limited to 'src')
| -rw-r--r-- | src/io/resource.cpp | 1 | ||||
| -rw-r--r-- | src/io/resource.h | 1 | ||||
| -rw-r--r-- | src/path-prefix.h | 7 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp index 9e31a5e5c..5a92096ee 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -44,7 +44,6 @@ gchar *_get_path(Domain domain, Type type, char const *filename) case SYSTEM: { gchar const* temp = nullptr; switch (type) { - case APPICONS: temp = INKSCAPE_APPICONDIR; break; case EXTENSIONS: temp = INKSCAPE_EXTENSIONDIR; break; case FILTERS: temp = INKSCAPE_FILTERDIR; break; case FONTS: temp = INKSCAPE_FONTSDIR; break; diff --git a/src/io/resource.h b/src/io/resource.h index 8316b8a0b..b1b78dbcc 100644 --- a/src/io/resource.h +++ b/src/io/resource.h @@ -27,7 +27,6 @@ namespace IO { namespace Resource { enum Type { - APPICONS, EXTENSIONS, FONTS, GRADIENTS, diff --git a/src/path-prefix.h b/src/path-prefix.h index adfa7f613..245d65505 100644 --- a/src/path-prefix.h +++ b/src/path-prefix.h @@ -35,9 +35,7 @@ and back into the root install dir. */ # define INKSCAPE_LIBPREFIX "/../.." # define INKSCAPE_DATADIR_REAL BR_DATADIR( INKSCAPE_LIBPREFIX "/share") -# define INKSCAPE_APPICONDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/pixmaps" ) # define INKSCAPE_ATTRRELDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/attributes" ) -# define INKSCAPE_BINDDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/bind" ) # define INKSCAPE_DOCDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/doc" ) # define INKSCAPE_EXAMPLESDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/examples" ) # define INKSCAPE_EXTENSIONDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/extensions" ) @@ -63,9 +61,7 @@ #else # ifdef _WIN32 # define INKSCAPE_DATADIR_REAL append_inkscape_datadir() -# define INKSCAPE_APPICONDIR append_inkscape_datadir("pixmaps") # define INKSCAPE_ATTRRELDIR append_inkscape_datadir("attributes") -# define INKSCAPE_BINDDIR append_inkscape_datadir("bind") # define INKSCAPE_DOCDIR append_inkscape_datadir("doc") # define INKSCAPE_EXAMPLESDIR append_inkscape_datadir("examples") # define INKSCAPE_EXTENSIONDIR append_inkscape_datadir("extensions") @@ -90,9 +86,7 @@ # define CREATE_PATTERNSDIR append_inkscape_datadir("create\\patterns\\vector") # elif defined ENABLE_OSX_APP_LOCATIONS // TODO: Is ENABLE_OSX_APP_LOCATIONS still in use? # define INKSCAPE_DATADIR_REAL "Contents/Resources/share" -# define INKSCAPE_APPICONDIR "Contents/Resources/share/pixmaps" # define INKSCAPE_ATTRRELDIR "Contents/Resources/share/inkscape/attributes" -# define INKSCAPE_BINDDIR "Contents/Resources/share/inkscape/bind" # define INKSCAPE_DOCDIR "Contents/Resources/share/inkscape/doc" # define INKSCAPE_EXAMPLESDIR "Contents/Resources/share/inkscape/examples" # define INKSCAPE_EXTENSIONDIR "Contents/Resources/share/inkscape/extensions" @@ -117,7 +111,6 @@ # define CREATE_PATTERNSDIR "/Library/Application Support/create/patterns/vector" # else # define INKSCAPE_DATADIR_REAL append_inkscape_datadir() -# define INKSCAPE_APPICONDIR append_inkscape_datadir("pixmaps") # define INKSCAPE_ATTRRELDIR append_inkscape_datadir("inkscape/attributes") # define INKSCAPE_BINDDIR append_inkscape_datadir("inkscape/bind") # define INKSCAPE_DOCDIR append_inkscape_datadir("inkscape/doc") |
