aboutsummaryrefslogtreecommitdiff
path: root/plugins/signal-protocol/vapi
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/signal-protocol/vapi')
-rw-r--r--plugins/signal-protocol/vapi/signal-protocol-public.vapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/signal-protocol/vapi/signal-protocol-public.vapi b/plugins/signal-protocol/vapi/signal-protocol-public.vapi
index d0208c6c..f879c583 100644
--- a/plugins/signal-protocol/vapi/signal-protocol-public.vapi
+++ b/plugins/signal-protocol/vapi/signal-protocol-public.vapi
@@ -38,7 +38,7 @@ namespace Signal {
[CCode (cname = "signal_throw_gerror_by_code_", cheader_filename = "signal_protocol.h")]
private int throw_by_code(int code, string? message = null) throws GLib.Error {
if (code < 0 && code > MIN_ERROR_CODE) {
- throw new GLib.Error(-1, code, @"$(message ?? "Signal error"): $((ErrorCode)code)");
+ throw new GLib.Error(-1, code, "%s: %s", message ?? "Signal error", ((ErrorCode)code).to_string());
}
return code;
}