Commit 2d9fb435 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent b6aa6f0f
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
......
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
......
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
......
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
......
......@@ -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++]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment