checked in wrong version of gtk_box_reorder_child previously.

-timj
This commit is contained in:
Tim Janik 1998-01-18 04:15:22 +00:00
parent 40808fa050
commit e35fb5486f

View File

@ -298,7 +298,7 @@ gtk_box_reorder_child (GtkBox *box,
list = list->next;
}
if (list)
if (list && box->children->next)
{
GList *tmp_list;
@ -306,6 +306,8 @@ gtk_box_reorder_child (GtkBox *box,
list->next->prev = list->prev;
if (list->prev)
list->prev->next = list->next;
else
box->children = list->next;
tmp_list = box->children;
while (pos && tmp_list->next)