diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-14 22:17:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-14 22:17:31 +0000 |
commit | f1ed13ee4d74c616a57c04a6f6213c3ecabef510 (patch) | |
tree | 8656050c1d4304edaa15ff9074d68043c2c948c0 /gtk2_ardour/sfdb_ui.cc | |
parent | 1d984b7985ad6f717fe7de206a6189fbf019b9eb (diff) |
allow compilation without --freesound
git-svn-id: svn://localhost/ardour2/branches/3.0@10597 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r-- | gtk2_ardour/sfdb_ui.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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; |