summaryrefslogtreecommitdiff
path: root/codegen/valagdbusclientmodule.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-10-26 16:10:37 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-10-26 16:10:37 +0100
commit545121d1322d3f73880b3f14d86d3d7bd976e664 (patch)
tree1916736e7d4dceaa8c47502dca00fd3f55ed13c2 /codegen/valagdbusclientmodule.vala
parent64ad6bb8aa0b26a330c2a678b5cfbba2ad0a646f (diff)
downloadvala-545121d1322d3f73880b3f14d86d3d7bd976e664.tar.gz
codegen: Make use of new printf-like API of Report.*()
Diffstat (limited to 'codegen/valagdbusclientmodule.vala')
-rw-r--r--codegen/valagdbusclientmodule.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/codegen/valagdbusclientmodule.vala b/codegen/valagdbusclientmodule.vala
index 2327a09aa..af833f749 100644
--- a/codegen/valagdbusclientmodule.vala
+++ b/codegen/valagdbusclientmodule.vala
@@ -55,7 +55,7 @@ public class Vala.GDBusClientModule : GDBusModule {
if (method.dynamic_type.type_symbol == dbus_proxy_type) {
generate_marshalling (method, CallType.SYNC, null, method.name, -1);
} else {
- Report.error (method.source_reference, "dynamic methods are not supported for `%s'".printf (method.dynamic_type.to_string ()));
+ Report.error (method.source_reference, "dynamic methods are not supported for `%s'", method.dynamic_type.to_string ());
}
pop_function ();
@@ -274,7 +274,7 @@ public class Vala.GDBusClientModule : GDBusModule {
var iface = (Interface) object_type.type_symbol;
if (get_dbus_name (iface) == null) {
- Report.error (expr.source_reference, "`%s' is not a D-Bus interface".printf (iface.get_full_name ()));
+ Report.error (expr.source_reference, "`%s' is not a D-Bus interface", iface.get_full_name ());
return;
}