diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-10-26 16:10:37 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-10-26 16:10:37 +0100 |
commit | 545121d1322d3f73880b3f14d86d3d7bd976e664 (patch) | |
tree | 1916736e7d4dceaa8c47502dca00fd3f55ed13c2 /codegen/valagdbusclientmodule.vala | |
parent | 64ad6bb8aa0b26a330c2a678b5cfbba2ad0a646f (diff) | |
download | vala-545121d1322d3f73880b3f14d86d3d7bd976e664.tar.gz |
codegen: Make use of new printf-like API of Report.*()
Diffstat (limited to 'codegen/valagdbusclientmodule.vala')
-rw-r--r-- | codegen/valagdbusclientmodule.vala | 4 |
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; } |