]> git.draconx.ca Git - gob-dx.git/blobdiff - examples/my-person.gob
Release 0.92.4
[gob-dx.git] / examples / my-person.gob
index 61bd6ddf2f964602ed6ba9f375af1b7abf3ec57b..f09b1511ae205a005ecbc213e18a892284389736 100644 (file)
@@ -31,14 +31,14 @@ class My:Person from Gtk:Object {
        argument LONG dob get { ARG = self->dob; } set { self->dob = ARG; };
        argument LONG dod get { ARG = self->dod; } set { self->dod = ARG; };
 
-       init(person)
+       init(self)
        {
-               person->name = g_strdup("Nobody");
-               person->dob = 0;
-               person->dod = 0;
+               self->name = g_strdup("Nobody");
+               self->dob = 0;
+               self->dod = 0;
                
                /* initially we have no rounds in the shotgun */
-               person->_priv->rounds_in_shotgun = 0;
+               self->_priv->rounds_in_shotgun = 0;
        }
 
        /* when the person gets born, sends out a signal, the caller