+2007-11-16 Jürg Billeter <j@bitron.ch>
+
+ * tests/property-sample.vala: remove invalid property definitions
+
2007-11-13 Jürg Billeter <j@bitron.ch>
* vapi/packages/gconf-2.0/: update to use vala-gen-introspect
private string _read_only;
public string read_only {
- get;
- }
-
- private string _ignore_callee;
- public string ignore_callee {
- get;
- set {}
+ get { return _read_only; }
}
public Sample(construct string! name) {
construct {
_automatic = "InitialAutomatic";
_read_only = "InitialReadOnly";
- _ignore_callee = "InitialIgnoreCallee";
}
public void run() {
// The following statement would be rejected
// read_only = "TheNewReadOnly";
- ignore_callee = "TheNewIgnoreCallee";
-
stdout.printf("automatic: %s\n", automatic);
stdout.printf("name: %s\n", name);
stdout.printf("read_only: %s\n", read_only);