vala r2057 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2057 - in trunk: . gobject
- Date: Fri, 21 Nov 2008 22:35:43 +0000 (UTC)
Author: juergbi
Date: Fri Nov 21 22:35:43 2008
New Revision: 2057
URL: http://svn.gnome.org/viewvc/vala?rev=2057&view=rev
Log:
2008-11-21 JÃrg Billeter <j bitron ch>
* gobject/valagasyncmodule.vala:
Fix return type of finish vfunc
Modified:
trunk/ChangeLog
trunk/gobject/valagasyncmodule.vala
Modified: trunk/gobject/valagasyncmodule.vala
==============================================================================
--- trunk/gobject/valagasyncmodule.vala (original)
+++ trunk/gobject/valagasyncmodule.vala Fri Nov 21 22:35:43 2008
@@ -126,7 +126,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]