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
This commit is contained in:
Matthias Clasen 2008-05-28 00:33:49 +00:00
parent d6ef4416f5
commit 6c993cf8d2
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2008-05-27 Matthias Clasen <mclasen@redhat.com>
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.
2008-05-28 Michael Natterer <mitch@imendio.com>
* modules/input/gtkimcontextime.h

View File

@ -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;
}
}