tree view: Avoid a crash with rubberbanding

When a treeview is destroyed while rubberbanding is going
on, we crash because the rb tree is nuked before we want
to access it to stop the rubberbanding. To avoid this crash
end the rubberbanding early in destroy().

See
https://bugzilla.redhat.com/show_bug.cgi?id=1173904
This commit is contained in:
Matthias Clasen 2015-04-08 18:54:45 -04:00
parent c0ac3c3386
commit a89e99b0be

View File

@ -2124,6 +2124,7 @@ gtk_tree_view_destroy (GtkWidget *widget)
GList *list;
gtk_tree_view_stop_editing (tree_view, TRUE);
gtk_tree_view_stop_rubber_band (tree_view);
if (tree_view->priv->columns != NULL)
{