forked from AuroraMiddleware/gtk
Bug 661997 - Gtk crashes when changing the TreeView model while ...
Simply stopping rubber banding in gtk_tree_view_set_model() eliminates the crash. Reported by Thomas Perl.
This commit is contained in:
parent
7e22a5350c
commit
91ae19768e
@ -11338,6 +11338,9 @@ gtk_tree_view_set_model (GtkTreeView *tree_view,
|
||||
tree_view->priv->scroll_to_path = NULL;
|
||||
}
|
||||
|
||||
if (tree_view->priv->rubber_band_status)
|
||||
gtk_tree_view_stop_rubber_band (tree_view);
|
||||
|
||||
if (tree_view->priv->model)
|
||||
{
|
||||
GList *tmplist = tree_view->priv->columns;
|
||||
|
Loading…
Reference in New Issue
Block a user