]> granicus.if.org Git - transmission/commit
(trunk gtk) more heap pruning: minor GtkTreeModel changes
authorJordan Lee <jordan@transmissionbt.com>
Wed, 13 Apr 2011 22:00:55 +0000 (22:00 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 13 Apr 2011 22:00:55 +0000 (22:00 +0000)
commit1d7a4eb528523921b22461ba72d846b432e79e25
tree1018213cbf0449e1a8973fc28f2b6bd61be679a2
parent01461d0b4a9db2dda9f73deabddc3c1a468409eb
(trunk gtk) more heap pruning: minor GtkTreeModel changes

Use gtk_tree_model_iter_nth_child() instead of gtk_tree_model_get_iter_first() to avoid an unnecessary gtk_tree_path object being created and destroyed. This is a very minor change and I'm not sure how useful it really is, but it doesn't hurt.
gtk/details.c
gtk/file-list.c
gtk/tr-window.c