weston-log: rename the confusing function name weston_compositor_log_scope_destroy()
There's a function named weston_compositor_log_scope_destroy() but it doesn't take a struct weston_compositor argument. Rename it to weston_log_scope_destroy(), as the argument is a struct weston_log_scope. Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
This commit is contained in:
@@ -648,7 +648,7 @@ weston_pipewire_destroy(struct wl_listener *l, void *data)
|
||||
struct weston_pipewire *pipewire =
|
||||
wl_container_of(l, pipewire, destroy_listener);
|
||||
|
||||
weston_compositor_log_scope_destroy(pipewire->debug);
|
||||
weston_log_scope_destroy(pipewire->debug);
|
||||
pipewire->debug = NULL;
|
||||
|
||||
wl_event_source_remove(pipewire->loop_source);
|
||||
|
||||
Reference in New Issue
Block a user