aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-06-26 13:18:33 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-26 13:18:33 +1000
commit50190bc7609d981c45d26cd0b7d6d0fbf66feb05 (patch)
treed3999226eaf620bb729ba2c4b8d284549259ce8b /include/sway/tree
parent7a922c65aab27c5f4282cf15de52d240e5ac8052 (diff)
Rename view's free callback to destroy
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 0e6f5292..1bcb0582 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -37,7 +37,7 @@ struct sway_view_impl {
void (*for_each_surface)(struct sway_view *view,
wlr_surface_iterator_func_t iterator, void *user_data);
void (*close)(struct sway_view *view);
- void (*free)(struct sway_view *view);
+ void (*destroy)(struct sway_view *view);
};
struct sway_view {