[valadoc] doclets/gtkdoc: Fix the output of SourceCode elements
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] doclets/gtkdoc: Fix the output of SourceCode elements
- Date: Thu, 28 Jul 2011 08:57:56 +0000 (UTC)
commit cdddb3d85254b852dd9ac0b975903b46386431ed
Author: Luca Bruno <lucabru src gnome org>
Date: Thu Jul 28 10:57:50 2011 +0200
doclets/gtkdoc: Fix the output of SourceCode elements
Fixes bug 648986.
src/doclets/gtkdoc/commentconverter.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/doclets/gtkdoc/commentconverter.vala b/src/doclets/gtkdoc/commentconverter.vala
index 5a14864..4192199 100644
--- a/src/doclets/gtkdoc/commentconverter.vala
+++ b/src/doclets/gtkdoc/commentconverter.vala
@@ -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>");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]