[vala/switch-to-gir: 14/34] girparser: Fix unowned keyword in metadata types
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/switch-to-gir: 14/34] girparser: Fix unowned keyword in metadata types
- Date: Sun, 26 Dec 2010 10:49:31 +0000 (UTC)
commit 51bf5244d4d7d911c7b7fb11d34d6b33d2ec00b1
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 4746654..2e9b8c5 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -1114,7 +1114,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]