view: init function should return a success bool

This commit is contained in:
Alexander Orzechowski 2022-03-04 19:23:27 -05:00 committed by Alexander Orzechowski
parent c8dfabfc16
commit ea6dc8e335
4 changed files with 11 additions and 4 deletions

View file

@ -311,7 +311,7 @@ void view_for_each_popup_surface(struct sway_view *view,
// view implementation
void view_init(struct sway_view *view, enum sway_view_type type,
bool view_init(struct sway_view *view, enum sway_view_type type,
const struct sway_view_impl *impl);
void view_destroy(struct sway_view *view);