summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-01 23:08:55 +0000
committerDavid Robillard <d@drobilla.net>2011-12-01 23:08:55 +0000
commit05b451e8be70bb49c1ac663cdbef6640fc2c5045 (patch)
tree9e205bde374787485ab58b2f263b39192e24e03f /src/AlsaDriver.cpp
parentab32c5c1c32beacfd34489683627ca253966bc6b (diff)
downloadpatchage-05b451e8be70bb49c1ac663cdbef6640fc2c5045.tar.gz
patchage-05b451e8be70bb49c1ac663cdbef6640fc2c5045.tar.bz2
patchage-05b451e8be70bb49c1ac663cdbef6640fc2c5045.zip
Move color stuff down to C level.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3733 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index 7ddb3d1..87c149e 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -163,9 +163,8 @@ AlsaDriver::refresh()
PatchagePort* port2 = _app->canvas()->find_port(PortID(*addr2, true));
if (port2 && !_app->canvas()->get_connection(port, port2)) {
- _app->canvas()->make_connection(port,
- port2,
- port->color() + 0x22222200);
+ _app->canvas()->make_connection(
+ port, port2, port->get_fill_color() + 0x22222200);
snd_seq_query_subscribe_set_index(
subsinfo, snd_seq_query_subscribe_get_index(subsinfo) + 1);