also remove the auto expand timeout if it exists.

2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
	auto expand timeout if it exists.


svn path=/trunk/; revision=18048
This commit is contained in:
Kristian Rietveld 2007-06-06 08:54:30 +00:00 committed by Kristian Rietveld
parent fb6a0314fd
commit 1598526f5c
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-06-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
auto expand timeout if it exists.
2007-06-06 Richard Hult <richard@imendio.com> 2007-06-06 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events): * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):

View File

@ -1809,6 +1809,12 @@ gtk_tree_view_unrealize (GtkWidget *widget)
priv->scroll_timeout = 0; priv->scroll_timeout = 0;
} }
if (priv->auto_expand_timeout != 0)
{
g_source_remove (priv->auto_expand_timeout);
priv->auto_expand_timeout = 0;
}
if (priv->open_dest_timeout != 0) if (priv->open_dest_timeout != 0)
{ {
g_source_remove (priv->open_dest_timeout); g_source_remove (priv->open_dest_timeout);