summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r--src/PatchageCanvas.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index 13eb0f4..f38ccca 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -246,8 +246,7 @@ PatchageCanvas::connect(Ganv::Node* port1, Ganv::Node* port2)
_app->alsa_driver()->connect(p1, p2);
#endif
} else {
- _app->log().warning_msg(
- "Cannot make connection, incompatible port types.");
+ _app->log().warning("Cannot make connection, incompatible port types.");
}
}
@@ -268,8 +267,7 @@ PatchageCanvas::disconnect(Ganv::Node* port1, Ganv::Node* port2)
}
if (!input || !output || input->is_output() || output->is_input()) {
- _app->log().error_msg(
- "Attempt to disconnect mismatched/unknown ports.");
+ _app->log().error("Attempt to disconnect mismatched/unknown ports.");
return;
}
@@ -285,8 +283,7 @@ PatchageCanvas::disconnect(Ganv::Node* port1, Ganv::Node* port2)
_app->alsa_driver()->disconnect(output, input);
#endif
} else {
- _app->log().error_msg(
- "Attempt to disconnect ports with strange types.");
+ _app->log().error("Attempt to disconnect ports with strange types.");
}
}