[vala/switch-to-gir: 41/47] girparser: Add constructor to boxed types.



commit 98555f77fc36fe38a435a4bb6f70f2b92007dad6
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]