GNOME Bugzilla – Bug 478344
GtkTreeRowReference falsely said to auto-subscribe to Model signals
Last modified: 2012-05-04 02:06:06 UTC
[ Forwarded from http://bugs.debian.org/440266 from Ian Zimmerman ] >From /usr/share/doc/libgtk2.0-doc/gtk/GtkTreeModel.html: >> gtk_tree_row_reference_new () Creates a row reference based on path. This reference will keep pointing to the node pointed to by path, so long as it exists. It listens to all signals emitted by model, and updates its path appropriately. << This is simply not true. A look at the source confirms that gtk_tree_row_reference_new is just a trivial wrapper around gtk_tree_row_reference_new_proxy, and does not do any additional signal subscription.
The documentation is outdated on this point. The two functions in question actually did connect to the model callbacks until somewhere in 2003. From there on custom marshallers have been used for first updating the row references and after that calling all other connected callbacks. See #107748 for a discussion on the subject.
Created attachment 208040 [details] [review] replace signal connection text with generic text
Review of attachment 208040 [details] [review]: sure, thanks
Comment on attachment 208040 [details] [review] replace signal connection text with generic text Pushed to master.