mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Small improvements
This commit is contained in:
parent
f6de93559f
commit
68951045a3
@ -323,7 +323,7 @@ class Animal : GLib.Object {
|
||||
// All GLib.Objects have a signal "notify" emitted when a property changes.
|
||||
|
||||
// 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
|
||||
stdout.printf("Property '%s' has changed!\n", p.name);
|
||||
|
Loading…
Reference in New Issue
Block a user