Re: Creating new GObject

2008-04-30 Thread AlannY
Peter Clifton wrote: > The error message is giving you the hint you need.. > > The g_type system needs to be initialised before you can use it, add a > call to: > > g_type_init (); > > Before your point_new () call, and it should be a lot happier. > Thanks a lot ;-) It works ;-) __

Re: Creating new GObject

2008-04-30 Thread Peter Clifton
On Wed, 2008-04-30 at 20:16 +0400, AlannY wrote: > Hello. > > I'm writing an Object from GObject. But when running my dummy app prints > errors and nothing happens ;-) > > Can someone look at my sources (they are dummy) and fix this problem > (sources attached). It's a dummy Point (dot) class,

Creating new GObject

2008-04-30 Thread AlannY
Hello. I'm writing an Object from GObject. But when running my dummy app prints errors and nothing happens ;-) Can someone look at my sources (they are dummy) and fix this problem (sources attached). It's a dummy Point (dot) class, nothing more ;-) Error messages: (process:8753): GLib-GObj