forked from AuroraMiddleware/gtk
Remove assertion that can get triggered by broken sort functions.
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com> * gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove assertion that can get triggered by broken sort functions.
This commit is contained in:
parent
38df3fec77
commit
3c89907d55
@ -1,3 +1,8 @@
|
||||
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
|
||||
assertion that can get triggered by broken sort functions.
|
||||
|
||||
Sat Oct 23 16:07:46 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_swap): Replace broken, overly
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
|
||||
assertion that can get triggered by broken sort functions.
|
||||
|
||||
Sat Oct 23 16:07:46 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_swap): Replace broken, overly
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
|
||||
assertion that can get triggered by broken sort functions.
|
||||
|
||||
Sat Oct 23 16:07:46 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_swap): Replace broken, overly
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
|
||||
assertion that can get triggered by broken sort functions.
|
||||
|
||||
Sat Oct 23 16:07:46 2004 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtksequence.c (_gtk_sequence_swap): Replace broken, overly
|
||||
|
@ -1008,11 +1008,7 @@ _gtk_sequence_node_insert_sorted (GtkSequenceNode *node,
|
||||
|
||||
if (node_compare (new, closest, &info) > 0)
|
||||
closest = _gtk_sequence_node_next (closest);
|
||||
|
||||
/* this can never fail since we have a bigger-than-everything
|
||||
* end-node
|
||||
*/
|
||||
g_assert (node_compare (new, closest, &info) <= 0);
|
||||
|
||||
_gtk_sequence_node_insert_before (closest, new);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user