summaryrefslogtreecommitdiffstats
path: root/src/io/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/resource.cpp')
-rw-r--r--src/io/resource.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp
index edabf72dd..9e31a5e5c 100644
--- a/src/io/resource.cpp
+++ b/src/io/resource.cpp
@@ -62,9 +62,6 @@ gchar *_get_path(Domain domain, Type type, char const *filename)
case TUTORIALS: temp = INKSCAPE_TUTORIALSDIR; break;
case UIS: temp = INKSCAPE_UIDIR; break;
case PIXMAPS: temp = INKSCAPE_PIXMAPSDIR; break;
-#ifdef INKSCAPE_DATADIR
- case DATA_DIR: temp = INKSCAPE_DATADIR; break;
-#endif
default: temp = "";
}
path = g_strdup(temp);
@@ -100,7 +97,6 @@ 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 DATA_DIR: name = ""; break;
default: return _get_path(SYSTEM, type, filename);
}
path = profile_path(name);