Commit cab74707 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Patch from Soeren Sandmann to fix removes. Thanks to Martin Wehner for

2003-09-16  Alexander Larsson  <alexl@redhat.com>

	* cut-n-paste-code/gsequence/gsequence.c:
	Patch from Soeren Sandmann to fix removes.
	Thanks to Martin Wehner for tracking this down.
parent 7a409aa2
2003-09-16 Alexander Larsson <alexl@redhat.com>
* cut-n-paste-code/gsequence/gsequence.c:
Patch from Soeren Sandmann to fix removes.
Thanks to Martin Wehner for tracking this down.
2003-09-11 Mathieu Lacage <mathieu@gnome.org>
* src/file-manager/fm-properties-window.c: add a wait cursor during
......
......@@ -911,16 +911,22 @@ g_sequence_node_remove (GSequenceNode *node)
if (right)
{
right->parent = node->parent;
right->parent = NULL;
right = g_sequence_node_find_first (right);
g_assert (right->left == NULL);
right->left = left;
if (left)
{
left->parent = right;
g_sequence_node_update_fields (right);
}
}
else if (left)
left->parent = node->parent;
left->parent = NULL;
}
#if 0
/* debug func */
static gint
......
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