X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/3b10bbd3a88d6e16146414d91d06bb2f36347bfc..77fd2f2194af12f95959506910f3babe842c5f1f:/examples/my-person.gob diff --git a/examples/my-person.gob b/examples/my-person.gob index 06a0aaa..cad0672 100644 --- a/examples/my-person.gob +++ b/examples/my-person.gob @@ -91,4 +91,10 @@ class My:Person from Gtk:Object { g_free(MY_PERSON(self)->name); PARENT_HANDLER(self); } + + public GtkObject * + new(void) + { + return (GtkObject *)GET_NEW; + } }