[vala/wip/transform: 342/373] Use qualified names in transformed expressions
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/transform: 342/373] Use qualified names in transformed expressions
- Date: Mon, 22 Oct 2018 15:00:51 +0000 (UTC)
commit 41a9b93154e243412bc48b90360ab8fc46679986
Author: Luca Bruno <lucabru src gnome org>
Date: Sat May 18 12:41:15 2013 +0200
Use qualified names in transformed expressions
codegen/valagdbusclienttransformer.vala | 2 +-
codegen/valagdbusservertransformer.vala | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/codegen/valagdbusclienttransformer.vala b/codegen/valagdbusclienttransformer.vala
index 93ce6dff8..acfb2ae9f 100644
--- a/codegen/valagdbusclienttransformer.vala
+++ b/codegen/valagdbusclienttransformer.vala
@@ -219,7 +219,7 @@ public class Vala.GDBusClientTransformer : GVariantTransformer {
push_builder (new CodeBuilder.for_subroutine (m));
b.open_switch (expression ("signal_name"), null);
- b.add_expression (expression ("assert_not_reached ()"));
+ b.add_expression (expression ("GLib.assert_not_reached ()"));
b.add_break ();
foreach (var sig in sym.get_signals ()) {
if (sig.access != SymbolAccessibility.PUBLIC) {
diff --git a/codegen/valagdbusservertransformer.vala b/codegen/valagdbusservertransformer.vala
index 570c744e1..22ae5b5c4 100644
--- a/codegen/valagdbusservertransformer.vala
+++ b/codegen/valagdbusservertransformer.vala
@@ -180,7 +180,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) (((Object[])
user_data)[0])"));
+ var object = b.add_temp_declaration (null, 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 ()) {
@@ -218,7 +218,7 @@ public class Vala.GDBusServerTransformer : GDBusClientTransformer {
push_builder (new CodeBuilder.for_subroutine (m));
var object_type = SemanticAnalyzer.get_data_type_for_symbol (sym);
- var object = b.add_temp_declaration (null, expression (@"($object_type) (((Object[])
user_data)[0])"));
+ var object = b.add_temp_declaration (null, expression (@"($object_type) (((GLib.Object[])
user_data)[0])"));
b.open_switch (expression ("property_name"), null);
b.add_return (expression ("null"));
foreach (var prop in sym.get_properties ()) {
@@ -255,7 +255,7 @@ public class Vala.GDBusServerTransformer : GDBusClientTransformer {
push_builder (new CodeBuilder.for_subroutine (m));
var object_type = SemanticAnalyzer.get_data_type_for_symbol (sym);
- var object = b.add_temp_declaration (null, expression (@"($object_type) (((Object[])
user_data)[0])"));
+ var object = b.add_temp_declaration (null, expression (@"($object_type) (((GLib.Object[])
user_data)[0])"));
b.open_switch (expression ("property_name"), null);
b.add_return (expression ("false"));
foreach (var prop in sym.get_properties ()) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]