diff options
author | David Robillard <d@drobilla.net> | 2007-10-06 19:04:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-06 19:04:11 +0000 |
commit | 25fd375c074c45929f71d6b9ca4841882c832b05 (patch) | |
tree | 9302aa2ccaf627fd58bc458b7ebe4902e80c5817 /src/libs/gui/PatchWindow.cpp | |
parent | a3a7891b56783dbcf916dde56f92830433f659e2 (diff) | |
download | ingen-25fd375c074c45929f71d6b9ca4841882c832b05.tar.gz ingen-25fd375c074c45929f71d6b9ca4841882c832b05.tar.bz2 ingen-25fd375c074c45929f71d6b9ca4841882c832b05.zip |
Fix building without libcurl.
git-svn-id: http://svn.drobilla.net/lad/ingen@831 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PatchWindow.cpp')
-rw-r--r-- | src/libs/gui/PatchWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/gui/PatchWindow.cpp b/src/libs/gui/PatchWindow.cpp index de551f2d..6260221d 100644 --- a/src/libs/gui/PatchWindow.cpp +++ b/src/libs/gui/PatchWindow.cpp @@ -126,6 +126,10 @@ PatchWindow::PatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glad _breadcrumb_box = new BreadCrumbBox(); _breadcrumb_box->signal_patch_selected.connect(sigc::mem_fun(this, &PatchWindow::set_patch_from_path)); + +#ifndef HAVE_CURL + _menu_upload->hide(); +#endif } |