After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315370 - Missing constructor for TreeModelFilter
Missing constructor for TreeModelFilter
Status: VERIFIED FIXED
Product: java-gnome
Classification: Bindings
Component: GTK
mainline
Other All
: Normal minor
: ---
Assigned To: Ismael Juma
Ismael Juma
Depends on:
Blocks:
 
 
Reported: 2005-09-06 15:38 UTC by Sami Wagiaalla
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
The attached patch adds a second constructor that provides the option of passing in a TreePath object. (946 bytes, patch)
2005-09-06 15:39 UTC, Sami Wagiaalla
none Details | Review

Description Sami Wagiaalla 2005-09-06 15:38:37 UTC
The TreeModelFilter constructor in GTK

  GtkTreeModel* gtk_tree_model_filter_new (GtkTreeModel *child_model,

                                                     GtkTreePath *root);

allows one to set a virtual root for the filtered tree which is a really useful
feature.

The constructor in jg always passed null for root.

Other information:
Comment 1 Sami Wagiaalla 2005-09-06 15:39:34 UTC
Created attachment 51876 [details] [review]
The attached patch adds a second constructor that provides the option of passing in a TreePath object.
Comment 2 Ismael Juma 2005-09-18 13:58:04 UTC
Thanks for the patch. Committed to CVS HEAD.