Re: Unable to instantiate GtkTreeModelSort with g_object_new.



Jeff Franks <jcf tpg com au> writes:

> Jonathan Blandford wrote:
> 
> >Tim Janik <timj gtk org> writes:
> >
> >There is:
> >
> >  g_object_class_install_property (object_class,
> >                                   PROP_MODEL,
> >                                   g_param_spec_object ("model",
> >							_("TreeModelSort Model"),
> >							_("The model for the TreeModelSort to sort"),
> >							GTK_TYPE_TREE_MODEL,
> >							G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
> >
> Surely, GtkTreeModelSort needs to install a "model" property not user code.

What do you mean?

-Jonathan



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