Re: GTypeInfo with instance_size of 0.



On Fri, 2001-11-02 at 12:42, Murray Cumming wrote:
> In gtk_tree_model_get_type(), the "GtkTreeModel" type is registered with
> a GTypeInfo.instance_size of 0. Does the 0 mean something special? Maybe
> that the instance size if equal to the base instance size?

Please ignore that. That was silly. There is no base for GtkTreeModel.

> Maybe this would allow me to derive from GtkTreeModel even though
> GtkTreeModel is not a real struct.

I think I'll use g_type_query() to get sizes.
 
-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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