[Xfce4-commits] [apps/xfce4-taskmanager] 01/01: Use the correct parent to test for first child

noreply at xfce.org noreply at xfce.org
Tue Dec 16 22:16:46 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 aa5da322435b53b3220fd2d7e61bd6d8ab9a577a
Author: Peter de Ridder <peter at xfce.org>
Date:   Tue Dec 16 22:16:50 2014 +0100

    Use the correct parent to test for first child
---
 src/process-tree-model.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/process-tree-model.c b/src/process-tree-model.c
index a4069eb..be2a8a8 100644
--- a/src/process-tree-model.c
+++ b/src/process-tree-model.c
@@ -558,7 +558,7 @@ xtm_process_tree_model_row_changed (XtmProcessTreeModel *treemodel, GtkTreePath
 				gtk_tree_path_free (s_path);
 
 				/* Signal has child toggled if this is the first child */
-				signal_parent = g_node_first_child (found.parent) == NULL;
+				signal_parent = g_node_first_child (lnk->tree) == NULL;
 				/* Assuming we had no children, we can just append to keep the sorting order correct */
 				g_node_append (lnk->tree, node);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list