From 792fab4578e12f504fe8cfbfe7a7fdc3f268bbca Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 29 Oct 2012 16:47:54 +0400 Subject: [PATCH] Vala: Object property. --- vala/property/property.vala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vala/property/property.vala b/vala/property/property.vala index 97c0066..d65d103 100644 --- a/vala/property/property.vala +++ b/vala/property/property.vala @@ -1,5 +1,10 @@ +public class Prop : Object { + public int prop; +} + public class Person : Object { - public string height { get; set; default = null; } + public string height { get; set; default = null; } + public Prop prop {get; set;} } void main () {