Re: What is the best way to default construct an object.



James Henstridge <james daa com au> writes:
> But the prototype is:
> gpointer g_object_new (GType object_type, const gchar
> *first_property_name, ...);
> 
> So the 0 should get cast correctly to a pointer :)

Very clever! (As long as you don't set any properties. ;-)

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]