diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-11 15:57:09 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-11 15:57:09 +1000 |
commit | 4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff (patch) | |
tree | 233e3977ad922df56a76d91e59606019fc21c38f /sway/ipc-server.c | |
parent | Merge pull request #2447 from ianyfan/swaynag-leak (diff) | |
download | sway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.tar.gz sway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.tar.zst sway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.zip |
Remove container_for_each_descendant_bfs
The function was not used.
Also renames container_for_each_descendant_dfs to just
container_for_each_descendant.
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 7d2d8969..dad1f310 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -631,7 +631,7 @@ void ipc_client_handle_command(struct ipc_client *client) { | |||
631 | case IPC_GET_WORKSPACES: | 631 | case IPC_GET_WORKSPACES: |
632 | { | 632 | { |
633 | json_object *workspaces = json_object_new_array(); | 633 | json_object *workspaces = json_object_new_array(); |
634 | container_for_each_descendant_dfs(&root_container, | 634 | container_for_each_descendant(&root_container, |
635 | ipc_get_workspaces_callback, workspaces); | 635 | ipc_get_workspaces_callback, workspaces); |
636 | const char *json_string = json_object_to_json_string(workspaces); | 636 | const char *json_string = json_object_to_json_string(workspaces); |
637 | client_valid = | 637 | client_valid = |