diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-11-29 19:32:40 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-11-29 19:32:40 +0000 |
commit | afd5ed8095f509ce977677f6d5a4ae89fa7ee2b0 (patch) | |
tree | 6acce3f7325b8b12c0e74ffb506a9976016f02e0 /ChangeLog | |
parent | 13ed5fef8d451422b2ed314b453457f084cc44d5 (diff) | |
download | gdk-pixbuf-afd5ed8095f509ce977677f6d5a4ae89fa7ee2b0.tar.gz |
Properly handle model changes in GtkTreeSelection: (#322569, Milosz
2005-11-29 Matthias Clasen <mclasen@redhat.com>
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2005-11-29 Matthias Clasen <mclasen@redhat.com> + + 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. + 2005-11-28 Federico Mena Quintero <federico@ximian.com> Merged from HEAD: |