Don't loop over the sentinel node. (#156298, Torsten Schoenfeld)

2004-10-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_reorder): Don't
	loop over the sentinel node.  (#156298, Torsten Schoenfeld)
This commit is contained in:
Matthias Clasen 2004-10-29 04:04:32 +00:00 committed by Matthias Clasen
parent b6aa6f0fa9
commit 2d9fb43565
5 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_reorder): Don't
loop over the sentinel node. (#156298, Torsten Schoenfeld)
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use

View File

@ -1,3 +1,8 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_reorder): Don't
loop over the sentinel node. (#156298, Torsten Schoenfeld)
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use

View File

@ -1,3 +1,8 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_reorder): Don't
loop over the sentinel node. (#156298, Torsten Schoenfeld)
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use

View File

@ -1,3 +1,8 @@
2004-10-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_reorder): Don't
loop over the sentinel node. (#156298, Torsten Schoenfeld)
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_start_editing): Use

View File

@ -1408,7 +1408,7 @@ gtk_list_store_reorder (GtkListStore *store,
ptr = _gtk_sequence_get_begin_ptr (store->seq);
i = 0;
while (ptr)
while (!_gtk_sequence_ptr_is_end (ptr))
{
g_hash_table_insert (new_positions, ptr, GINT_TO_POINTER (new_order[i++]));