[Xfce4-commits] [apps/xfce4-taskmanager] 01/01: Take one reference on all the nodes
noreply at xfce.org
noreply at xfce.org
Fri Dec 19 10:11:34 CET 2014
This is an automated email from the git hooks/post-receive script.
peter pushed a commit to branch master
in repository apps/xfce4-taskmanager.
commit e3b43c6c4c4aa6287465ebcbaa820c73f3cd099e
Author: Peter de Ridder <peter at xfce.org>
Date: Fri Dec 19 10:03:23 2014 +0100
Take one reference on all the nodes
---
src/process-tree-model.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/process-tree-model.c b/src/process-tree-model.c
index be2a8a8..2e139f8 100644
--- a/src/process-tree-model.c
+++ b/src/process-tree-model.c
@@ -611,6 +611,9 @@ xtm_process_tree_model_row_inserted (XtmProcessTreeModel *treemodel, GtkTreePath
g_return_if_fail (gtk_tree_path_get_depth (path) == 1);
+ /* Take a reference on this node, to want to stay informed about any changes in this row */
+ gtk_tree_model_ref_node(model, iter);
+
not_persist = ! (gtk_tree_model_get_flags (model) & GTK_TREE_MODEL_ITERS_PERSIST);
s_iter.stamp = treemodel->stamp;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list