From cab53d9e6b3c79d9c0fb73fa77aea69ec5cfe3dc Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 26 Nov 2005 12:13:33 +0000 Subject: [PATCH] minor fix to glade path stuff git-svn-id: svn://localhost/trunk/ardour2@122 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/glade_path.cc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/gtk2_ardour/glade_path.cc b/gtk2_ardour/glade_path.cc index 7ccdcc3d97..117e2dca30 100644 --- a/gtk2_ardour/glade_path.cc +++ b/gtk2_ardour/glade_path.cc @@ -35,7 +35,7 @@ GladePath::path(const std::string& glade_file) std::string full_path; 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; } @@ -47,14 +47,3 @@ GladePath::path(const std::string& glade_file) 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 :