summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2014-06-19 21:23:12 +1000
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-25 12:40:10 -0400
commitcd12698b9caff8a7fc0006f409cbf317e67fec82 (patch)
treec83f8972f58c2315423ff58655ec67e16d0f5db6 /gtk2_ardour/utils.cc
parent8d0cba3384d862f5df9d5ce0675123c144579cd3 (diff)
Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r--gtk2_ardour/utils.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc
index c3d02dee2f..fa305e6989 100644
--- a/gtk2_ardour/utils.cc
+++ b/gtk2_ardour/utils.cc
@@ -666,7 +666,7 @@ get_xpm (std::string name)
std::string data_file_path;
- if(!find_file_in_search_path (spath, name, data_file_path)) {
+ if(!find_file (spath, name, data_file_path)) {
fatal << string_compose (_("cannot find XPM file for %1"), name) << endmsg;
}
@@ -720,7 +720,7 @@ get_icon_path (const char* cname, string icon_set)
spath.add_subdirectory_to_paths ("icons");
spath.add_subdirectory_to_paths (icon_set);
- find_file_in_search_path (spath, name, data_file_path);
+ find_file (spath, name, data_file_path);
}
if (data_file_path.empty()) {
@@ -732,7 +732,7 @@ get_icon_path (const char* cname, string icon_set)
Searchpath def (ARDOUR::ardour_data_search_path());
def.add_subdirectory_to_paths ("icons");
- if (!find_file_in_search_path (def, name, data_file_path)) {
+ if (!find_file (def, name, data_file_path)) {
fatal << string_compose (_("cannot find icon image for %1 using %2"), name, spath.to_string()) << endmsg;
/*NOTREACHED*/
}