]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
doclets/gtkdoc: Fix the output of SourceCode elements
authorLuca Bruno <lucabru@src.gnome.org>
Thu, 28 Jul 2011 08:57:50 +0000 (10:57 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Thu, 28 Jul 2011 08:58:18 +0000 (10:58 +0200)
Fixes bug 648986.

src/doclets/gtkdoc/commentconverter.vala

index 5a1486411b686083d7db59df5338eddf3d71ec67..41921995b69f46bc0f17072c2b8b504d1c07e17e 100644 (file)
@@ -209,7 +209,7 @@ public class Gtkdoc.CommentConverter : ContentVisitor {
   
        public override void visit_source_code (SourceCode code) {
                current_builder.append ("<programlisting>");
-               code.accept_children (this);
+               current_builder.append (code.code);
                current_builder.append ("</programlisting>");
        }