summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMilo Gilad <milogaccnts@gmail.com>2017-08-26 09:01:25 -0400
committerMilo Gilad <milogaccnts@gmail.com>2017-08-26 09:01:25 -0400
commitf6de93559f8d2b725d307675d4b333b37a2fd6bc (patch)
tree971d952e3b859e2bde4c5fa4a2560286361cb59c
parent14c3fc4ffe96ec9c13469a6005ce4e1497c74358 (diff)
General spelling/grammer fixes
-rwxr-xr-xvala.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/vala.html.markdown b/vala.html.markdown
index ac1f19eb..a7fd1131 100755
--- a/vala.html.markdown
+++ b/vala.html.markdown
@@ -288,6 +288,7 @@ public class SignalDemo : GLib.Object {
public static int main(string[] args) {
// main method; program does not compile without it
+
var sig_demo_class = new SignalDemo(); // New instance of class
sig_demo_class.sig_demo.connect((ob, sig_int) => { // Lambda used as handler
@@ -301,12 +302,12 @@ public class SignalDemo : GLib.Object {
}
// You may use the connect() method and attach as many handlers as you'd like.
-// They'll all run when the signal is emitted.
+// They'll all run at around the same time when the signal is emitted.
// Properties (getters and setters)
class Animal : GLib.Object {
- private int _legs; // prefixed with underscore to prevents name clashes
+ private int _legs; // prefixed with underscore to prevent name clashes
public int legs {
get { return _legs; }