Small improvements

This commit is contained in:
Milo Gilad 2017-08-26 09:05:24 -04:00
parent f6de93559f
commit 68951045a3

View File

@ -323,7 +323,7 @@ class Animal : GLib.Object {
// All GLib.Objects have a signal "notify" emitted when a property changes. // All GLib.Objects have a signal "notify" emitted when a property changes.
// If you specify a specific property, replace all underscores with dashes // If you specify a specific property, replace all underscores with dashes
// to conform with the GObject naming convention. // to conform to the GObject naming convention.
rabbit.notify["eyes"].connect((s, p) => { // Remove the ["eyes"] for all rabbit.notify["eyes"].connect((s, p) => { // Remove the ["eyes"] for all
stdout.printf("Property '%s' has changed!\n", p.name); stdout.printf("Property '%s' has changed!\n", p.name);