From 0e3bb46532e1858f2cfee808bd66efa225cb2d94 Mon Sep 17 00:00:00 2001 From: William Hua Date: Wed, 7 Aug 2013 15:11:32 -0400 Subject: Split useful code into separate Source object. --- tests/main.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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); } } } -- cgit v1.2.3