diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/AlsaDriver.cpp | 5 | ||||
-rw-r--r-- | src/JackDriver.cpp | 3 | ||||
-rw-r--r-- | src/PatchageEvent.cpp | 2 |
3 files changed, 5 insertions, 5 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); diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index e2e6d2b..94cc575 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -313,7 +313,8 @@ JackDriver::refresh() } if (src && dst && !_app->canvas()->get_connection(src, dst)) - _app->canvas()->make_connection(src, dst, port1->color() + 0x22222200); + _app->canvas()->make_connection( + src, dst, port1->get_fill_color() + 0x22222200); } jack_free(connected_ports); diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 4f3c8d5..b6cd6e1 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -92,7 +92,7 @@ PatchageEvent::execute(Patchage* patchage) % _port_2).str()); else patchage->canvas()->make_connection( - port_1, port_2, port_1->color() + 0x22222200); + port_1, port_2, port_1->get_fill_color() + 0x22222200); } else if (_type == DISCONNECTION) { |