diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-12-09 01:15:23 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-12-09 01:15:38 +0000 |
commit | 98c1e19466c0d83c8e1ca86eda5b273eda7eff3c (patch) | |
tree | b47ccc174669786e3a1df9569046886c23003a45 /sway/commands/reload.c | |
parent | Cleanup list code (diff) | |
download | sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.tar.gz sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.tar.zst sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.zip |
list.c: rename free_flat_list to list_free_items_and_destroy
Diffstat (limited to 'sway/commands/reload.c')
-rw-r--r-- | sway/commands/reload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c index c236911e..3ccbbf34 100644 --- a/sway/commands/reload.c +++ b/sway/commands/reload.c | |||
@@ -24,7 +24,7 @@ static void do_reload(void *data) { | |||
24 | 24 | ||
25 | if (!load_main_config(config->current_config_path, true, false)) { | 25 | if (!load_main_config(config->current_config_path, true, false)) { |
26 | wlr_log(WLR_ERROR, "Error(s) reloading config"); | 26 | wlr_log(WLR_ERROR, "Error(s) reloading config"); |
27 | free_flat_list(bar_ids); | 27 | list_free_items_and_destroy(bar_ids); |
28 | return; | 28 | return; |
29 | } | 29 | } |
30 | 30 | ||
@@ -41,7 +41,7 @@ static void do_reload(void *data) { | |||
41 | } | 41 | } |
42 | } | 42 | } |
43 | } | 43 | } |
44 | free_flat_list(bar_ids); | 44 | list_free_items_and_destroy(bar_ids); |
45 | 45 | ||
46 | config_update_font_height(true); | 46 | config_update_font_height(true); |
47 | root_for_each_container(rebuild_textures_iterator, NULL); | 47 | root_for_each_container(rebuild_textures_iterator, NULL); |