forked from AuroraMiddleware/gtk
menusectionbox: Avoid a gtk_widget_destroy() call
This commit is contained in:
parent
b1d4d24c7b
commit
596be280c9
@ -222,7 +222,8 @@ gtk_menu_section_box_remove_func (gint position,
|
||||
gtk_container_remove (GTK_CONTAINER (stack), subbox);
|
||||
}
|
||||
|
||||
gtk_widget_destroy (g_list_nth_data (children, position));
|
||||
gtk_container_remove (GTK_CONTAINER (box->item_box),
|
||||
g_list_nth_data (children, position));
|
||||
g_list_free (children);
|
||||
|
||||
gtk_menu_section_box_schedule_separator_sync (box);
|
||||
|
Loading…
Reference in New Issue
Block a user