X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/486240dc4c5d57b0afaddba60d87fe375112bed5..c9914e54f16c3315d47040f4cca2d3788228c504:/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; + } }