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:
+2
-2
@@ -3375,11 +3375,11 @@ out:
|
||||
if (protologger)
|
||||
wl_protocol_logger_destroy(protologger);
|
||||
|
||||
weston_compositor_log_scope_destroy(protocol_scope);
|
||||
weston_log_scope_destroy(protocol_scope);
|
||||
protocol_scope = NULL;
|
||||
weston_compositor_tear_down(wet.compositor);
|
||||
|
||||
weston_compositor_log_scope_destroy(log_scope);
|
||||
weston_log_scope_destroy(log_scope);
|
||||
log_scope = NULL;
|
||||
weston_log_ctx_compositor_destroy(wet.compositor);
|
||||
weston_compositor_destroy(wet.compositor);
|
||||
|
||||
Reference in New Issue
Block a user