diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/App.cpp | 2 | ||||
-rw-r--r-- | src/gui/Connection.cpp | 2 | ||||
-rw-r--r-- | src/gui/Connection.hpp | 4 | ||||
-rw-r--r-- | src/gui/PatchCanvas.cpp | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp index dac6eeae..c93980a1 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -23,7 +23,7 @@ #include <gtk/gtkwindow.h> -#include "flowcanvas/Connection.hpp" +#include "flowcanvas/Edge.hpp" #include "ingen/ServerInterface.hpp" #include "ingen/EngineBase.hpp" #include "ingen/client/ClientStore.hpp" diff --git a/src/gui/Connection.cpp b/src/gui/Connection.cpp index 19cc4a14..e554de02 100644 --- a/src/gui/Connection.cpp +++ b/src/gui/Connection.cpp @@ -30,7 +30,7 @@ Connection::Connection(FlowCanvas::Canvas& canvas, FlowCanvas::Joinable* src, FlowCanvas::Joinable* dst, uint32_t color) - : FlowCanvas::Connection(canvas, src, dst, color) + : FlowCanvas::Edge(canvas, src, dst, color) , _connection_model(model) { } diff --git a/src/gui/Connection.hpp b/src/gui/Connection.hpp index aeb7a4c7..5eee2194 100644 --- a/src/gui/Connection.hpp +++ b/src/gui/Connection.hpp @@ -20,7 +20,7 @@ #include <cassert> #include <string> -#include "flowcanvas/Connection.hpp" +#include "flowcanvas/Edge.hpp" #include "raul/SharedPtr.hpp" namespace Ingen { @@ -34,7 +34,7 @@ namespace GUI { * * \ingroup GUI */ -class Connection : public FlowCanvas::Connection +class Connection : public FlowCanvas::Edge { public: Connection(FlowCanvas::Canvas& canvas, diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 9b77683b..89cb541c 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -485,7 +485,7 @@ PatchCanvas::disconnection(SharedPtr<const ConnectionModel> cm) FlowCanvas::Port* const dst = get_port_view(cm->dst_port()); if (src && dst) - remove_connection(src, dst); + remove_edge(src, dst); else LOG(error) << "Unable to find ports to disconnect " << cm->src_port_path() << " -> " << cm->dst_port_path() << endl; @@ -642,8 +642,8 @@ PatchCanvas::copy_selection() } } - for (SelectedConnections::const_iterator c = selected_connections().begin(); - c != selected_connections().end(); ++c) { + for (SelectedEdges::const_iterator c = selected_edges().begin(); + c != selected_edges().end(); ++c) { Connection* const connection = dynamic_cast<Connection*>(*c); if (connection) { const Sord::URI subject(*_app.world()->rdf_world(), |