aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-08-07 15:11:32 -0400
committerWilliam Hua <william.hua@canonical.com>2013-08-07 15:11:32 -0400
commit0e3bb46532e1858f2cfee808bd66efa225cb2d94 (patch)
treef6b3017c096812b77d06b940aa5fb8e9465d6739 /tests
parent6d780dde682d74aa61756ad95c05f5bb1bb57b01 (diff)
downloadayatana-indicator-keyboard-0e3bb46532e1858f2cfee808bd66efa225cb2d94.tar.gz
ayatana-indicator-keyboard-0e3bb46532e1858f2cfee808bd66efa225cb2d94.tar.bz2
ayatana-indicator-keyboard-0e3bb46532e1858f2cfee808bd66efa225cb2d94.zip
Split useful code into separate Source object.
Diffstat (limited to 'tests')
-rw-r--r--tests/main.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/main.vala b/tests/main.vala
index a26eca55..d9d52733 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);
}
}
}