X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/1656cfade4879af0cb003e3847e58264caa5781f..b17287deb56775a49030d738d8c8c0e9cd15f9fe:/examples/my-person.gob diff --git a/examples/my-person.gob b/examples/my-person.gob index 61bd6dd..f09b151 100644 --- a/examples/my-person.gob +++ b/examples/my-person.gob @@ -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