diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-05-28 00:33:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-05-28 00:33:49 +0000 |
commit | 6c993cf8d2c86394e7c3cdc89682ebdfbe335639 (patch) | |
tree | fb306446716cd3305177466e1b4991aa59517c7f /gtk/gtktreeview.c | |
parent | d6ef4416f5d8e315981df89089e8c3d970bb27c6 (diff) | |
download | gtk+-6c993cf8d2c86394e7c3cdc89682ebdfbe335639.tar.gz |
Bug 511217 - potential memory corruption after refreshing a tree_view
* gtk/gtktreeview.c (cancel_arrow_animation): Reset
expanded_collapsed_node when canceling the animation.
Patch by Nicholas Setton.
svn path=/trunk/; revision=20201
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r-- | gtk/gtktreeview.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index ea25e57aff..3a17ec73a6 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -8473,6 +8473,9 @@ cancel_arrow_animation (GtkTreeView *tree_view) g_source_remove (tree_view->priv->expand_collapse_timeout); tree_view->priv->expand_collapse_timeout = 0; + + /* Reset node */ + tree_view->priv->expanded_collapsed_node = NULL; } } |