Commit 71ae930e authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

remove invalid property definitions

2007-11-16  Juerg Billeter  <j@bitron.ch>

	* tests/property-sample.vala: remove invalid property definitions

svn path=/trunk/; revision=688
parent d067024a
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
......
......@@ -20,13 +20,7 @@ public class Sample : Object {
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) {
......@@ -35,7 +29,6 @@ public class Sample : Object {
construct {
_automatic = "InitialAutomatic";
_read_only = "InitialReadOnly";
_ignore_callee = "InitialIgnoreCallee";
}
public void run() {
......@@ -55,8 +48,6 @@ public class Sample : Object {
// 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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment