forked from AuroraMiddleware/gtk
Take nodes in reverse order to make sure sort is stable.
Mon Nov 29 17:28:53 2004 Søren Sandmann <sandmann@redhat.com> * gtk/gtksequence.c (_gtk_sequence_sort): Take nodes in reverse order to make sure sort is stable.
This commit is contained in:
parent
89202068ea
commit
f688fff60a
@ -1,3 +1,8 @@
|
||||
Mon Nov 29 17:28:53 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_sort): Take nodes in reverse
|
||||
order to make sure sort is stable.
|
||||
|
||||
2004-11-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 29 17:28:53 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_sort): Take nodes in reverse
|
||||
order to make sure sort is stable.
|
||||
|
||||
2004-11-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 29 17:28:53 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_sort): Take nodes in reverse
|
||||
order to make sure sort is stable.
|
||||
|
||||
2004-11-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 29 17:28:53 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_sort): Take nodes in reverse
|
||||
order to make sure sort is stable.
|
||||
|
||||
2004-11-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (cell_view_is_sensitive): Don't call
|
||||
|
@ -256,7 +256,8 @@ _gtk_sequence_sort (GtkSequence *seq,
|
||||
|
||||
while (_gtk_sequence_get_length (tmp) > 0)
|
||||
{
|
||||
GtkSequenceNode *node = _gtk_sequence_get_begin_ptr (tmp);
|
||||
GtkSequenceNode *node = _gtk_sequence_get_end_ptr (tmp);
|
||||
node = _gtk_sequence_node_prev (node);
|
||||
_gtk_sequence_unlink (tmp, node);
|
||||
|
||||
_gtk_sequence_node_insert_sorted (seq->node, node, cmp_func, cmp_data);
|
||||
|
Loading…
Reference in New Issue
Block a user