summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/Port.cpp25
-rw-r--r--src/gui/Port.hpp4
2 files changed, 0 insertions, 29 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index 7631837a..0a7536a2 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -37,8 +37,6 @@ namespace Ingen {
using namespace Shared;
namespace GUI {
-//ArtVpathDash* Port::_dash;
-
Port*
Port::create(App& app,
Ganv::Module& module,
@@ -77,8 +75,6 @@ Port::Port(App& app,
{
assert(pm);
- //ArtVpathDash* dash = this->dash();
- //_rect.property_dash() = dash;
set_border_width(1.0);
if (app.can_control(pm.get())) {
@@ -302,27 +298,6 @@ Port::property_changed(const URI& key, const Atom& value)
}
}
-/*
-ArtVpathDash*
-Port::dash()
-{
- const URIs& uris = _app.uris();
- SharedPtr<const PortModel> pm = _port_model.lock();
- if (!pm)
- return NULL;
-
- if (!_dash) {
- _dash = new ArtVpathDash();
- _dash->n_dash = 2;
- _dash->dash = art_new(double, 2);
- _dash->dash[0] = 4;
- _dash->dash[1] = 4;
- }
-
- return _dash;
-}
-*/
-
void
Port::set_selected(gboolean b)
{
diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp
index bbf4e7c7..0781127f 100644
--- a/src/gui/Port.hpp
+++ b/src/gui/Port.hpp
@@ -61,8 +61,6 @@ public:
void set_selected(gboolean b);
- //ArtVpathDash* dash();
-
private:
Port(App& app,
Ganv::Module& module,
@@ -78,8 +76,6 @@ private:
void on_value_changed(GVariant* value);
bool on_event(GdkEvent* ev);
- //static ArtVpathDash* _dash;
-
App& _app;
WeakPtr<const PortModel> _port_model;
bool _pressed : 1;