summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io/resource.cpp4
-rw-r--r--src/io/resource.h1
2 files changed, 0 insertions, 5 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);
diff --git a/src/io/resource.h b/src/io/resource.h
index fb814b946..8316b8a0b 100644
--- a/src/io/resource.h
+++ b/src/io/resource.h
@@ -45,7 +45,6 @@ enum Type {
THEMES,
UIS,
PIXMAPS,
- DATA_DIR
};
enum Domain {