X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/dd11885aadcfaafae2d6268c381b0aac94cbc149..346ae1bbcbbe87e79fe2db1f019f014ea64e2175:/examples/my-person2.gob diff --git a/examples/my-person2.gob b/examples/my-person2.gob index 749bfb0..b7f23ed 100644 --- a/examples/my-person2.gob +++ b/examples/my-person2.gob @@ -70,4 +70,10 @@ class My:Person2 from Gtk:Object { /* death is imminent if we shoot oneself in the head */ death(self, (long)time(NULL)); } + + public GtkObject * + new(void) + { + return (GtkObject *)GET_NEW; + } }