[vala/switch-to-gir: 16/26] girparser: Fix unowned keyword in metadata types



commit 7f5cda31e9107b044c2f59909c8da6d7e600fc18
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Nov 17 22:00:20 2010 +0100

    girparser: Fix unowned keyword in metadata types

 vala/valagirparser.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 78a09cc..7dae5b1 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -1112,7 +1112,7 @@ public class Vala.GirParser : CodeVisitor {
 			}
 		} else if (ownership_data == "unowned") {
 			if (owned_by_default) {
-				value_owned = true;
+				value_owned = false;
 			} else {
 				Report.error (source_reference, "unexpected `unowned' keyword");
 				return null;



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