summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-03-23 09:01:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-03-23 09:01:30 (GMT)
commitfd0df8f884336fc69bd0938453f9712c166f08c8 (patch)
treef24313aa72a50d41b8076cf6b257129530bf562e /src/gui
parent03d5e6abfce49d4a18bbf70cbbaa3be8c58bf5b4 (diff)
Removed references to local sources if required.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/core/theme.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/core/theme.c b/src/gui/core/theme.c
index 8e68780..77eff7f 100644
--- a/src/gui/core/theme.c
+++ b/src/gui/core/theme.c
@@ -63,8 +63,11 @@ static bool extend_with_plugins_themes(GdkScreen *, gboolean);
/* RĂ©pertoires de recherche */
static const char *_themes_directories[] = {
+#ifndef DISCARD_LOCAL
PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "themes",
+#else
THEMES_DIR,
+#endif
NULL
};