From 05b451e8be70bb49c1ac663cdbef6640fc2c5045 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Dec 2011 23:08:55 +0000 Subject: Move color stuff down to C level. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3733 a436a847-0d15-0410-975c-d299462d15a1 --- src/AlsaDriver.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/AlsaDriver.cpp') 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); -- cgit v1.2.1