summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GladeFile.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GladeFile.hpp b/src/GladeFile.hpp
index c0051f7..48a0062 100644
--- a/src/GladeFile.hpp
+++ b/src/GladeFile.hpp
@@ -32,13 +32,13 @@ public:
std::ifstream fs(glade_filename.c_str());
if (fs.fail()) { // didn't find it, check DATA_PATH
fs.clear();
- glade_filename = std::string(DATA_DIR).append("/").append(base_name).append(".glade");
+ glade_filename = std::string(PATCHAGE_DATA_DIR).append("/").append(base_name).append(".glade");
fs.open(glade_filename.c_str());
if (fs.fail()) {
std::ostringstream ss;
ss << "Unable to find " << base_name << "glade in current directory or "
- << DATA_DIR << std::endl;
+ << PATCHAGE_DATA_DIR << std::endl;
throw std::runtime_error(ss.str());
}
fs.close();