fix C declaration for delegates, fixes bug 523734
authorJuerg Billeter <j@bitron.ch>
Sat, 22 Mar 2008 22:22:17 +0000 (22:22 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 22 Mar 2008 22:22:17 +0000 (22:22 +0000)
2008-03-22  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix C declaration for delegates,
  fixes bug 523734

svn path=/trunk/; revision=1152

ChangeLog
gobject/valaccodegenerator.vala

index 537e779..5e42f4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-03-22  Jürg Billeter  <j@bitron.ch>
 
+       * gobject/valaccodegenerator.vala: fix C declaration for delegates,
+         fixes bug 523734
+
+2008-03-22  Jürg Billeter  <j@bitron.ch>
+
        * vala/parser.y, vala/valanamespace.vala: support nested namespaces,
          fixes bug 516584
 
index f9f33e4..2fdc4e3 100644 (file)
@@ -434,7 +434,7 @@ public class Vala.CCodeGenerator : CodeGenerator {
                var ctypedef = new CCodeTypeDefinition (d.return_type.get_cname (), cfundecl);
 
                if (!d.is_internal_symbol ()) {
-                       header_type_definition.append (ctypedef);
+                       header_type_declaration.append (ctypedef);
                } else {
                        source_type_member_declaration.append (ctypedef);
                }