vala r1957 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1957 - in trunk: . gobject
- Date: Sun, 2 Nov 2008 19:13:01 +0000 (UTC)
Author: juergbi
Date: Sun Nov 2 19:13:01 2008
New Revision: 1957
URL: http://svn.gnome.org/viewvc/vala?rev=1957&view=rev
Log:
2008-11-02 JÃrg Billeter <j bitron ch>
* gobject/valaccodegenerator.vala:
Fix comment generation of private enums, patch by Carlos Cadete,
fixes bug 558533
Modified:
trunk/ChangeLog
trunk/THANKS
trunk/gobject/valaccodegenerator.vala
Modified: trunk/THANKS
==============================================================================
--- trunk/THANKS (original)
+++ trunk/THANKS Sun Nov 2 19:13:01 2008
@@ -12,6 +12,7 @@
Anthony Taylor
Arwed von Merkatz
Carl-Anton Ingmarsson
+Carlos Cadete
Cayle Graumann
Christian Hergert
Christian Meyer
Modified: trunk/gobject/valaccodegenerator.vala
==============================================================================
--- trunk/gobject/valaccodegenerator.vala (original)
+++ trunk/gobject/valaccodegenerator.vala Sun Nov 2 19:13:01 2008
@@ -323,10 +323,6 @@
public override void visit_enum (Enum en) {
cenum = new CCodeEnum (en.get_cname ());
- if (en.source_reference.comment != null) {
- header_type_definition.append (new CCodeComment (en.source_reference.comment));
- }
-
CCodeFragment decl_frag;
CCodeFragment def_frag;
if (en.access != SymbolAccessibility.PRIVATE) {
@@ -336,6 +332,10 @@
decl_frag = source_type_declaration;
def_frag = source_type_definition;
}
+
+ if (en.source_reference.comment != null) {
+ def_frag.append (new CCodeComment (en.source_reference.comment));
+ }
def_frag.append (cenum);
def_frag.append (new CCodeNewline ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]