2004-01-30  Not Zed  <NotZed@Ximian.com>

	Fixes #132929.

	* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
	handler when we clear the timeout id.
This commit is contained in:
Not Zed 2004-01-30 18:37:46 +00:00 committed by Federico Mena Quintero
parent 275cf046cf
commit ca644c4107
6 changed files with 41 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.
2004-01-30 Federico Mena Quintero <federico@ximian.com>
Fix #129872, based on a patch by Jan Arne Petersen

View File

@ -1,3 +1,10 @@
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.
2004-01-30 Federico Mena Quintero <federico@ximian.com>
Fix #129872, based on a patch by Jan Arne Petersen

View File

@ -1,3 +1,10 @@
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.
2004-01-30 Federico Mena Quintero <federico@ximian.com>
Fix #129872, based on a patch by Jan Arne Petersen

View File

@ -1,3 +1,10 @@
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.
2004-01-30 Federico Mena Quintero <federico@ximian.com>
Fix #129872, based on a patch by Jan Arne Petersen

View File

@ -1,3 +1,10 @@
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.
2004-01-30 Federico Mena Quintero <federico@ximian.com>
Fix #129872, based on a patch by Jan Arne Petersen

View File

@ -6891,8 +6891,12 @@ static void
cancel_arrow_animation (GtkTreeView *tree_view)
{
if (tree_view->priv->expand_collapse_timeout)
while (do_expand_collapse (tree_view));
tree_view->priv->expand_collapse_timeout = 0;
{
while (do_expand_collapse (tree_view));
g_source_remove (tree_view->priv->expand_collapse_timeout);
tree_view->priv->expand_collapse_timeout = 0;
}
}
static void