summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-23 00:05:07 +0000
committerDavid Robillard <d@drobilla.net>2012-04-23 00:05:07 +0000
commit170b763db7c14be1014268198d6e02769352c5db (patch)
treeb02e64805ae92300e1b4f14c6361d2754a5a146f
parentd7ed390a29b644e040440d336fdea745aec5342d (diff)
downloadingen-170b763db7c14be1014268198d6e02769352c5db.tar.gz
ingen-170b763db7c14be1014268198d6e02769352c5db.tar.bz2
ingen-170b763db7c14be1014268198d6e02769352c5db.zip
Remove cruft.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4243 a436a847-0d15-0410-975c-d299462d15a1
-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;