mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
minor fix to glade path stuff
git-svn-id: svn://localhost/trunk/ardour2@122 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
655be077fa
commit
cab53d9e6b
1 changed files with 1 additions and 12 deletions
|
|
@ -35,7 +35,7 @@ GladePath::path(const std::string& glade_file)
|
||||||
std::string full_path;
|
std::string full_path;
|
||||||
|
|
||||||
if(!user_glade_dir.empty()) {
|
if(!user_glade_dir.empty()) {
|
||||||
Glib::build_filename(user_glade_dir, glade_file);
|
full_path = Glib::build_filename(user_glade_dir, glade_file);
|
||||||
if(Glib::file_test(full_path, Glib::FILE_TEST_EXISTS)) return full_path;
|
if(Glib::file_test(full_path, Glib::FILE_TEST_EXISTS)) return full_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -47,14 +47,3 @@ GladePath::path(const std::string& glade_file)
|
||||||
|
|
||||||
return full_path;
|
return full_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Local Variables:
|
|
||||||
mode:c++
|
|
||||||
c-file-style:"stroustrup"
|
|
||||||
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
|
|
||||||
indent-tabs-mode:nil
|
|
||||||
fill-column:99
|
|
||||||
End:
|
|
||||||
*/
|
|
||||||
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue