Re: What is the best way to default construct an object.
- From: Havoc Pennington <hp redhat com>
- To: James Henstridge <james daa com au>
- Cc: Jeff Franks <jcf tpg com au>, gtk-devel-list gnome org
- Subject: Re: What is the best way to default construct an object.
- Date: 02 Nov 2001 10:30:10 -0500
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]