gtk+ r20201 - in trunk: . gtk



Author: matthiasc
Date: Wed May 28 00:33:49 2008
New Revision: 20201
URL: http://svn.gnome.org/viewvc/gtk+?rev=20201&view=rev

Log:
        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.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtktreeview.c

Modified: trunk/gtk/gtktreeview.c
==============================================================================
--- trunk/gtk/gtktreeview.c	(original)
+++ trunk/gtk/gtktreeview.c	Wed May 28 00:33:49 2008
@@ -8473,6 +8473,9 @@
 
       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;
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]