Re: Unable to instantiate GtkTreeModelSort with g_object_new.



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.





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