Commit 8fb40fa3 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix return type of finish vfunc

2008-11-21  Jürg Billeter  <j@bitron.ch>

	* gobject/valagasyncmodule.vala:

	Fix return type of finish vfunc

svn path=/trunk/; revision=2057
parent b7a06bd1
2008-11-21 Jürg Billeter <j@bitron.ch>
* gobject/valagasyncmodule.vala:
Fix return type of finish vfunc
2008-11-21 Jürg Billeter <j@bitron.ch>
* vala/valamethod.vala:
......
......@@ -126,7 +126,7 @@ public class Vala.GAsyncModule : GSignalModule {
cparam_map.set (get_param_pos (0.1), new CCodeFormalParameter ("res", "GAsyncResult*"));
if (m.is_abstract || m.is_virtual) {
var vdecl = new CCodeDeclaration ("void");
var vdecl = new CCodeDeclaration (creturn_type.get_cname ());
vdeclarator = new CCodeFunctionDeclarator (m.vfunc_name + "_finish");
vdecl.add_declarator (vdeclarator);
type_struct.add_declaration (vdecl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment