diff options
author | Ryan Dwyer <[email protected]> | 2018-06-26 13:18:33 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2018-06-26 13:18:33 +1000 |
commit | 50190bc7609d981c45d26cd0b7d6d0fbf66feb05 (patch) | |
tree | d3999226eaf620bb729ba2c4b8d284549259ce8b /sway/desktop/xdg_shell.c | |
parent | 7a922c65aab27c5f4282cf15de52d240e5ac8052 (diff) |
Rename view's free callback to destroy
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index a06c3bd2..105e77ae 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -143,7 +143,7 @@ static void _close(struct sway_view *view) { } } -static void _free(struct sway_view *view) { +static void destroy(struct sway_view *view) { struct sway_xdg_shell_view *xdg_shell_view = xdg_shell_view_from_view(view); if (xdg_shell_view == NULL) { @@ -160,7 +160,7 @@ static const struct sway_view_impl view_impl = { .wants_floating = wants_floating, .for_each_surface = for_each_surface, .close = _close, - .free = _free, + .destroy = destroy, }; static void handle_commit(struct wl_listener *listener, void *data) { |