forked from AuroraMiddleware/gtk
checked in wrong version of gtk_box_reorder_child previously.
-timj
This commit is contained in:
parent
40808fa050
commit
e35fb5486f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user