[vala] D-Bus: dynamic wrapper functions are always static



commit 994df6723f5203fad986921eaf215de2af1c0be5
Author: Thijs Vermeir <thijsvermeir gmail com>
Date:   Wed Oct 14 12:39:14 2009 +0200

    D-Bus: dynamic wrapper functions are always static

 codegen/valadbusclientmodule.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valadbusclientmodule.vala b/codegen/valadbusclientmodule.vala
index d877bb5..5814756 100644
--- a/codegen/valadbusclientmodule.vala
+++ b/codegen/valadbusclientmodule.vala
@@ -57,6 +57,7 @@ internal class Vala.DBusClientModule : DBusModule {
 		var dynamic_method = (DynamicMethod) method;
 
 		var func = new CCodeFunction (method.get_cname ());
+		func.modifiers = CCodeModifiers.STATIC;
 
 		var cparam_map = new HashMap<int,CCodeFormalParameter> (direct_hash, direct_equal);
 



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