]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
GAsync: Fix return type declaration in header files
authorJürg Billeter <j@bitron.ch>
Mon, 21 Sep 2009 18:51:16 +0000 (20:51 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 21 Sep 2009 18:51:16 +0000 (20:51 +0200)
Fixes bug 595613.

codegen/valagasyncmodule.vala

index e59ce382a278f452221bc734b19f8addea9de7d5..4fade0daaa2c7595e9b3cc5d87d9d68d93eacd67 100644 (file)
@@ -278,7 +278,7 @@ internal class Vala.GAsyncModule : GSignalModule {
                        cparam_map = new HashMap<int,CCodeFormalParameter> (direct_hash, direct_equal);
                        cparam_map.set (get_param_pos (0.1), new CCodeFormalParameter ("_res_", "GAsyncResult*"));
 
-                       generate_cparameters (m, source_declarations, cparam_map, finishfunc, null, null, null, 2);
+                       generate_cparameters (m, decl_space, cparam_map, finishfunc, null, null, null, 2);
 
                        if (m.is_private_symbol ()) {
                                finishfunc.modifiers |= CCodeModifiers.STATIC;