mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Centralize freeing of action lists
Reduces some code duplication and makes it easier to extend struct action
This commit is contained in:
parent
8e9643a855
commit
f0a3f365e5
4 changed files with 14 additions and 17 deletions
|
|
@ -12,6 +12,7 @@ struct action {
|
|||
};
|
||||
|
||||
struct action *action_create(const char *action_name);
|
||||
void action_list_free(struct wl_list *action_list);
|
||||
|
||||
void action(struct view *activator, struct server *server,
|
||||
struct wl_list *actions, uint32_t resize_edges);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue