]> Pileus Git - ~andy/gtk/commit
Refactor expand/collapse timeout handling (amendment to bug 511217).
authorKristian Rietveld <kris@imendio.com>
Wed, 28 May 2008 09:26:13 +0000 (09:26 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Wed, 28 May 2008 09:26:13 +0000 (09:26 +0000)
commit1fa5cda0a9eba602de9fa5f27f7bfad05418bd70
tree1e5c53b2ccad6a6e8ffb4df5c74b67c0f2c7a8bf
parente72827b2cd60c0bb7d97ce82b35122aabe8aec8f
Refactor expand/collapse timeout handling (amendment to bug 511217).

2008-05-28  Kristian Rietveld  <kris@imendio.com>

Refactor expand/collapse timeout handling (amendment to bug 511217).

* gtk/gtktreeview.c (add_expand_collapse_timeout),
(remove_expand_collapse_timeout): new functions, the remove function
also clears expanded_collapsed_node,
(cancel_arrow_animation): moved to be next to the add/remove timeout
functions,
(gtk_tree_view_unrealize),
(gtk_tree_view_row_deleted),
(gtk_tree_view_set_model),
(cancel_arrow_animation),
(gtk_tree_view_real_expand_row),
(gtk_tree_view_real_collapse_row): use the new add/remove functions.

svn path=/trunk/; revision=20205
ChangeLog
gtk/gtktreeview.c