mirror of
https://github.com/swaywm/sway.git
synced 2026-04-24 06:46:22 -04:00
list.c: rename free_flat_list to list_free_items_and_destroy
This commit is contained in:
parent
c8776fac42
commit
98c1e19466
12 changed files with 20 additions and 20 deletions
|
|
@ -23,11 +23,11 @@ struct cmd_results *bar_cmd_modifier(int argc, char **argv) {
|
|||
} else {
|
||||
error = cmd_results_new(CMD_INVALID, "modifier",
|
||||
"Unknown modifier '%s'", split->items[i]);
|
||||
free_flat_list(split);
|
||||
list_free_items_and_destroy(split);
|
||||
return error;
|
||||
}
|
||||
}
|
||||
free_flat_list(split);
|
||||
list_free_items_and_destroy(split);
|
||||
config->current_bar->modifier = mod;
|
||||
wlr_log(WLR_DEBUG,
|
||||
"Show/Hide the bar when pressing '%s' in hide mode.", argv[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue