[vala/wip/transform: 98/103] Minor clean up in visit_method_call()



commit 8652d973a9ab2110c4e3b2ad5e668a590dcd9de9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Apr 17 14:35:42 2018 +0200

    Minor clean up in visit_method_call()

 codegen/valagdbusclienttransformer.vala | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/codegen/valagdbusclienttransformer.vala b/codegen/valagdbusclienttransformer.vala
index 81dec84d8..68f0cab92 100644
--- a/codegen/valagdbusclienttransformer.vala
+++ b/codegen/valagdbusclienttransformer.vala
@@ -353,9 +353,9 @@ public class Vala.GDBusClientTransformer : GVariantTransformer {
                        generate_dynamic_dbus_call (expr);
                } else if (m != null && m == symbol_from_string ("GLib.Bus.get_proxy")) {
                        generate_get_proxy_call (expr);
-               } else {
-                       base.visit_method_call (expr);
                }
+
+               base.visit_method_call (expr);
        }
 
        private void generate_get_proxy_call (MethodCall expr) {
@@ -369,7 +369,6 @@ public class Vala.GDBusClientTransformer : GVariantTransformer {
                                accept_external (iface);
                        }
                }
-               base.visit_method_call (expr);
        }
 
        private void generate_dynamic_dbus_call (MethodCall expr) {
@@ -392,6 +391,5 @@ public class Vala.GDBusClientTransformer : GVariantTransformer {
 
                pop_builder ();
                expr.call.symbol_reference = wrapper;
-               base.visit_method_call (expr);
        }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]