[gtk+] tree view: Avoid a crash with rubberbanding
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tree view: Avoid a crash with rubberbanding
- Date: Wed, 8 Apr 2015 22:57:00 +0000 (UTC)
commit a89e99b0be15a1bfb401810a74d508b008459332
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Apr 8 18:54:45 2015 -0400
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
gtk/gtktreeview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 03d2231..5e1f476 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]