From cd12698b9caff8a7fc0006f409cbf317e67fec82 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 19 Jun 2014 21:23:12 +1000 Subject: 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. --- gtk2_ardour/video_server_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/video_server_dialog.cc') diff --git a/gtk2_ardour/video_server_dialog.cc b/gtk2_ardour/video_server_dialog.cc index add7ea42de..de6af96f04 100644 --- a/gtk2_ardour/video_server_dialog.cc +++ b/gtk2_ardour/video_server_dialog.cc @@ -101,7 +101,7 @@ VideoServerDialog::VideoServerDialog (Session* s) #endif std::string icsd_file_path; - if (find_file_in_search_path (PBD::Searchpath(Glib::getenv("PATH")), X_("harvid"), icsd_file_path)) { + if (find_file (PBD::Searchpath(Glib::getenv("PATH")), X_("harvid"), icsd_file_path)) { path_entry.set_text(icsd_file_path); } #ifdef PLATFORM_WINDOWS -- cgit v1.2.3