Remove container_for_each_descendant_bfs

The function was not used.

Also renames container_for_each_descendant_dfs to just
container_for_each_descendant.
This commit is contained in:
Ryan Dwyer 2018-08-11 15:57:09 +10:00
parent e474d87e42
commit 4ad1ccc9dc
9 changed files with 15 additions and 62 deletions

View file

@ -631,7 +631,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
case IPC_GET_WORKSPACES:
{
json_object *workspaces = json_object_new_array();
container_for_each_descendant_dfs(&root_container,
container_for_each_descendant(&root_container,
ipc_get_workspaces_callback, workspaces);
const char *json_string = json_object_to_json_string(workspaces);
client_valid =