[vala] girparser: Add constructor to boxed types.



commit 80f649f87e08975a069f86200a5623a7e2734215
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Jan 3 20:27:46 2011 +0100

    girparser: Add constructor to boxed types.

 vala/valagirparser.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index d56d017..765684e 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2567,7 +2567,7 @@ public class Vala.GirParser : CodeVisitor {
 			if (reader.name == "field") {
 				add_symbol_info (parse_field ());
 			} else if (reader.name == "constructor") {
-				parse_constructor ();
+				add_symbol_info (parse_constructor ());
 			} else if (reader.name == "method") {
 				add_symbol_info (parse_method ("method"));
 			} else {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]