]> git.draconx.ca Git - gob-dx.git/blobdiff - examples/gtk-button-count.gob
Release 0.92.4
[gob-dx.git] / examples / gtk-button-count.gob
index 1982146e8fe11ab629667a8206012e2c231c7721..d0bf5950433ae8b801873efd0a708640b2c9c505 100644 (file)
@@ -16,9 +16,9 @@ class Gtk:Button:Count from Gtk:Button {
                self->count = ARG;
        };
 
-       init(button)
+       init(self)
        {
-               button->count = 0;
+               self->count = 0;
        }
 
        /**