diff options
author | William Hua <william.hua@canonical.com> | 2013-08-08 14:53:16 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-08-08 14:53:16 -0400 |
commit | 61af9c29ee77c21923f65d06c1e3f17bafa90b97 (patch) | |
tree | 48708c38f417b77063b69168eae185d59d38531c /tests/main.vala | |
parent | 4f411bb4a5a7350ba3142c885e52383914c24a7a (diff) | |
parent | 0e3bb46532e1858f2cfee808bd66efa225cb2d94 (diff) | |
download | ayatana-indicator-keyboard-61af9c29ee77c21923f65d06c1e3f17bafa90b97.tar.gz ayatana-indicator-keyboard-61af9c29ee77c21923f65d06c1e3f17bafa90b97.tar.bz2 ayatana-indicator-keyboard-61af9c29ee77c21923f65d06c1e3f17bafa90b97.zip |
Split useful code into separate Source object.
Diffstat (limited to 'tests/main.vala')
-rw-r--r-- | tests/main.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/main.vala b/tests/main.vala index c3997520..6bbcc61a 100644 --- a/tests/main.vala +++ b/tests/main.vala @@ -31,12 +31,12 @@ public class Service : Object { } public void execute (string command) { - this._command = command; + _command = command; - var pspec = this.get_class ().find_property ("command"); + var pspec = get_class ().find_property ("command"); if (pspec != null) { - this.notify["command"] ((!) pspec); + notify["command"] ((!) pspec); } } } |