From f1ed13ee4d74c616a57c04a6f6213c3ecabef510 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 14 Nov 2011 22:17:31 +0000 Subject: [PATCH] allow compilation without --freesound git-svn-id: svn://localhost/ardour2/branches/3.0@10597 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/sfdb_ui.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index 492170d506..f53cb87849 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -729,6 +729,7 @@ SoundFileBrowser::found_list_view_selected () void SoundFileBrowser::freesound_list_view_selected () { +#ifdef FREESOUND if (!reset_options ()) { set_response_sensitive (RESPONSE_OK, false); } else { @@ -767,6 +768,7 @@ SoundFileBrowser::freesound_list_view_selected () preview.setup_labels (file); } +#endif } void @@ -917,7 +919,7 @@ SoundFileBrowser::get_paths () results.push_back (str); } } else { - +#ifdef FREESOUND typedef TreeView::Selection::ListHandle_Path ListPath; string path; @@ -944,6 +946,7 @@ SoundFileBrowser::get_paths () gdk_window_set_cursor (get_window()->gobj(), prev_cursor); } +#endif } return results;