From: Jürg Billeter Date: Fri, 12 Feb 2010 10:00:05 +0000 (+0100) Subject: GAsync: Declare functions for abstract async methods X-Git-Tag: 0.8.0~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ec6ff7aa0de85419c156d26c8b1c72349c4878d;p=thirdparty%2Fvala.git GAsync: Declare functions for abstract async methods Fixes bug 598266. --- diff --git a/codegen/valagasyncmodule.vala b/codegen/valagasyncmodule.vala index 9bd6cb746..522204810 100644 --- a/codegen/valagasyncmodule.vala +++ b/codegen/valagasyncmodule.vala @@ -319,6 +319,15 @@ internal class Vala.GAsyncModule : GSignalModule { // only append data struct here to make sure all struct member // types are declared before the struct definition append_struct (data); + } else { + generate_method_declaration (m, source_declarations); + + if (!m.is_internal_symbol ()) { + generate_method_declaration (m, header_declarations); + } + if (!m.is_private_symbol ()) { + generate_method_declaration (m, internal_header_declarations); + } } if (m.is_abstract || m.is_virtual) {