forked from AuroraMiddleware/gtk
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:
parent
c0ac3c3386
commit
a89e99b0be
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user