forked from AuroraMiddleware/gtk
treeview: Don't allocate columns outside of size_allocate()
This commit is contained in:
parent
5db1aa5401
commit
61ecd10240
@ -11760,11 +11760,7 @@ gtk_tree_view_move_column_after (GtkTreeView *tree_view,
|
||||
|
||||
gtk_tree_view_update_button_position (tree_view, column);
|
||||
|
||||
if (gtk_widget_get_realized (GTK_WIDGET (tree_view)))
|
||||
{
|
||||
gtk_widget_queue_resize (GTK_WIDGET (tree_view));
|
||||
gtk_tree_view_size_allocate_columns (GTK_WIDGET (tree_view));
|
||||
}
|
||||
gtk_widget_queue_resize (GTK_WIDGET (tree_view));
|
||||
|
||||
_gtk_tree_view_accessible_reorder_column (tree_view, column);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user