summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/GladeFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/GladeFactory.cpp')
-rw-r--r--src/libs/gui/GladeFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/gui/GladeFactory.cpp b/src/libs/gui/GladeFactory.cpp
index 63dc4d0b..2b4d3ec9 100644
--- a/src/libs/gui/GladeFactory.cpp
+++ b/src/libs/gui/GladeFactory.cpp
@@ -38,14 +38,14 @@ GladeFactory::find_glade_file()
glade_filename = "./ingen_gui.glade";
ifstream fs(glade_filename.c_str());
- if (fs.fail()) { // didn't find it, check PKGDATADIR
+ if (fs.fail()) { // didn't find it, check INGEN_DATA_DIR
fs.clear();
- glade_filename = PKGDATADIR;
+ glade_filename = INGEN_DATA_DIR;
glade_filename += "/ingen_gui.glade";
fs.open(glade_filename.c_str());
if (fs.fail()) {
- cerr << "[GladeFactory] Unable to find ingen_gui.glade in current directory or " << PKGDATADIR << "." << endl;
+ cerr << "[GladeFactory] Unable to find ingen_gui.glade in current directory or " << INGEN_DATA_DIR << "." << endl;
throw;
}
fs.close();