remove invalid property definitions
authorJuerg Billeter <j@bitron.ch>
Fri, 16 Nov 2007 15:56:24 +0000 (15:56 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 16 Nov 2007 15:56:24 +0000 (15:56 +0000)
2007-11-16  Juerg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=688

ChangeLog
tests/property-sample.vala

index b96f3a7..64c17e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index f724929..5579995 100644 (file)
@@ -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);