Commit e35fb548 authored by Tim Janik's avatar Tim Janik
Browse files

checked in wrong version of gtk_box_reorder_child previously.

-timj
parent 40808fa0
...@@ -298,7 +298,7 @@ gtk_box_reorder_child (GtkBox *box, ...@@ -298,7 +298,7 @@ gtk_box_reorder_child (GtkBox *box,
list = list->next; list = list->next;
} }
if (list) if (list && box->children->next)
{ {
GList *tmp_list; GList *tmp_list;
...@@ -306,6 +306,8 @@ gtk_box_reorder_child (GtkBox *box, ...@@ -306,6 +306,8 @@ gtk_box_reorder_child (GtkBox *box,
list->next->prev = list->prev; list->next->prev = list->prev;
if (list->prev) if (list->prev)
list->prev->next = list->next; list->prev->next = list->next;
else
box->children = list->next;
tmp_list = box->children; tmp_list = box->children;
while (pos && tmp_list->next) while (pos && tmp_list->next)
......
Supports Markdown
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