[vala/wip/transform: 120/121] GDbus Improving
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/transform: 120/121] GDbus Improving
- Date: Tue, 13 Nov 2018 10:57:43 +0000 (UTC)
commit eebf348bdc938318518313ecc92470291b5409d6
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Oct 28 18:57:48 2018 +0100
GDbus Improving
codegen/valagdbusservertransformer.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/codegen/valagdbusservertransformer.vala b/codegen/valagdbusservertransformer.vala
index 1cc06563d..a3c5ac217 100644
--- a/codegen/valagdbusservertransformer.vala
+++ b/codegen/valagdbusservertransformer.vala
@@ -185,7 +185,7 @@ public class Vala.GDBusServerTransformer : GDBusClientTransformer {
push_builder (new CodeBuilder.for_subroutine (im));
var object_type = SemanticAnalyzer.get_data_type_for_symbol (sym);
- var object = b.add_temp_declaration (null, expression (@"($object_type) (((GLib.Object[])
user_data)[0])"));
+ var object = b.add_temp_declaration (data_type (@"$object_type", false), expression
(@"($object_type) (((GLib.Object[]) user_data)[0])"));
b.open_switch (expression ("method_name"), null);
b.add_return ();
foreach (var m in sym.get_methods ()) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]