Commit 542ac19e authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

cancel the expand collapse timeout when unsetting the model (Fixes

2006-06-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): cancel the
	expand collapse timeout when unsetting the model (Fixes #327164,
	reported by Daichi Kawahata).
parent fda2e920
2006-06-27 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): cancel the
expand collapse timeout when unsetting the model (Fixes #327164,
reported by Daichi Kawahata).
2006-06-26 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24
......
2006-06-27 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): cancel the
expand collapse timeout when unsetting the model (Fixes #327164,
reported by Daichi Kawahata).
2006-06-26 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24
......
......@@ -10399,6 +10399,12 @@ gtk_tree_view_set_model (GtkTreeView *tree_view,
gtk_tree_view_unref_and_check_selection_tree (tree_view, tree_view->priv->tree);
gtk_tree_view_stop_editing (tree_view, TRUE);
if (tree_view->priv->expand_collapse_timeout)
{
g_source_remove (tree_view->priv->expand_collapse_timeout);
tree_view->priv->expand_collapse_timeout = 0;
}
g_signal_handlers_disconnect_by_func (tree_view->priv->model,
gtk_tree_view_row_changed,
tree_view);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment