diff options
author | David Robillard <d@drobilla.net> | 2008-10-03 21:25:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-03 21:25:30 +0000 |
commit | aeaab905a0711aafef5a64a83a1a511d76f41842 (patch) | |
tree | 58d36b30b97fec9299894a25c4bf88c36b91d016 /src/gui | |
parent | f43e7d5346b4aed7935076f9422ba6b903a1d7c4 (diff) | |
download | ingen-aeaab905a0711aafef5a64a83a1a511d76f41842.tar.gz ingen-aeaab905a0711aafef5a64a83a1a511d76f41842.tar.bz2 ingen-aeaab905a0711aafef5a64a83a1a511d76f41842.zip |
Make liblo optional for building ingen.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1608 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/PatchTreeWindow.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gui/PatchTreeWindow.cpp b/src/gui/PatchTreeWindow.cpp index 4730da2b..5afce50a 100644 --- a/src/gui/PatchTreeWindow.cpp +++ b/src/gui/PatchTreeWindow.cpp @@ -17,7 +17,6 @@ #include <raul/Path.hpp> #include "interface/EngineInterface.hpp" -#include "client/OSCEngineSender.hpp" #include "client/ClientStore.hpp" #include "client/PatchModel.hpp" #include "App.hpp" @@ -90,13 +89,7 @@ PatchTreeWindow::add_patch(SharedPtr<PatchModel> pm) Gtk::TreeModel::iterator iter = _patch_treestore->append(); Gtk::TreeModel::Row row = *iter; if (pm->path() == "/") { - SharedPtr<OSCEngineSender> osc_sender = PtrCast<OSCEngineSender>(App::instance().engine()); - string root_name = osc_sender ? osc_sender->uri() : "Internal"; - // Hack off trailing '/' if it's there (ugly) - //if (root_name.substr(root_name.length()-1,1) == "/") - // root_name = root_name.substr(0, root_name.length()-1); - //root_name.append(":/"); - row[_patch_tree_columns.name_col] = root_name; + row[_patch_tree_columns.name_col] = App::instance().engine()->uri(); } else { row[_patch_tree_columns.name_col] = pm->path().name(); } |