diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -45,10 +45,6 @@ print_tree_recurse(MqTree *node, gsize indent) if (node->first_child) { print_tree_recurse(node->first_child, indent + 1); } - - if (node->parent && node->parent->next) { - print_tree_recurse(node->parent->next, indent + 1); - } } } @@ -219,13 +215,6 @@ foreach(MqTree *node, gboolean (*cb)(MqTree *node, gpointer user_data), return MQ_TREE_STOP; } } - - if (node->parent && node->parent->next) { - if (foreach(node->parent->next, cb, user_data) == - MQ_TREE_STOP) { - return MQ_TREE_STOP; - } - } } return MQ_TREE_CONTINUE; |