Rename wlr_output_layout_init()

Rename wlr_output_layout_init() to wlr_output_layout_create() to be consistent
with the rest of the api.
This commit is contained in:
Tony Crisci 2017-09-05 17:53:29 -04:00
parent c5a2014a2f
commit e733b0e643
4 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ struct wlr_output_layout_output_state {
struct wl_listener output_destroy;
};
struct wlr_output_layout *wlr_output_layout_init() {
struct wlr_output_layout *wlr_output_layout_create() {
struct wlr_output_layout *layout =
calloc(1, sizeof(struct wlr_output_layout));
layout->state = calloc(1, sizeof(struct wlr_output_layout_state));