[vala/0.40] tests: Properties with NoAccessorMethod return heap-allocated structs
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] tests: Properties with NoAccessorMethod return heap-allocated structs
- Date: Mon, 5 Aug 2019 11:39:15 +0000 (UTC)
commit 04eca30ef214dcb00f4e6dc7d40959edf96ccad4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu May 9 18:51:43 2019 +0200
tests: Properties with NoAccessorMethod return heap-allocated structs
tests/objects/properties.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/objects/properties.vala b/tests/objects/properties.vala
index f34f97c66..f624d01d9 100644
--- a/tests/objects/properties.vala
+++ b/tests/objects/properties.vala
@@ -9,7 +9,7 @@ public struct RealStruct {
public class NonPrivAccess : Object {
[NoAccessorMethod]
- public RealStruct real_struct { get; set; }
+ public RealStruct real_struct { owned get; set; }
}
public class Sample : Object {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]