CVSROOT:        /cvs/gnome
Module name:    gtk+
Changes by:     matthiasc       05/11/29 14:34:15

Modified files:
        .              : ChangeLog 
        gtk            : gtktreeprivate.h gtktreeview.c 
                         gtktreeselection.c 

Log message:
2005-11-29  Matthias Clasen  <[EMAIL PROTECTED]>

Properly handle model changes in GtkTreeSelection: (#322569,
Milosz Derezynski)

* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
Get a reference to the model, and stop the iteration if the model
of the treeview is changed on the way.

* gtk/gtktreeprivate.h:
* gtk/gtktreeselection.c (_gtk_tree_selection_emit_changed): New
private function to emit the GtkTreeSelection::changed signal.

* gtk/gtktreeview.c (gtk_tree_view_set_model): Call
_gtk_tree_selection_emit_changed() when the model changes.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=matthiasc&date=explicit&mindate=2005-11-29%2014:33&maxdate=2005-11-29%2014:35

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to