libweston: Rename weston_surface_destroy() to weston_surface_unref()
Make it obvious that weston_surface has a reference counting happening and destruction of the weston_surface happens when the last weston_surface reference has been accounted for. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
@@ -2030,7 +2030,7 @@ weston_slide_run(struct weston_view *view, float start, float stop,
|
||||
weston_view_animation_done_func_t done, void *data);
|
||||
|
||||
void
|
||||
weston_surface_destroy(struct weston_surface *surface);
|
||||
weston_surface_unref(struct weston_surface *surface);
|
||||
|
||||
int
|
||||
weston_output_mode_switch_to_temporary(struct weston_output *output,
|
||||
|
||||
Reference in New Issue
Block a user