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:
Søren Sandmann 2004-10-23 20:16:22 +00:00 committed by Søren Sandmann Pedersen
parent 38df3fec77
commit 3c89907d55
5 changed files with 21 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);
}