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:
@@ -71,7 +71,7 @@ weston_log_ctx_add_log_scope(struct weston_log_context *log_ctx,
|
||||
void *user_data);
|
||||
|
||||
void
|
||||
weston_compositor_log_scope_destroy(struct weston_log_scope *scope);
|
||||
weston_log_scope_destroy(struct weston_log_scope *scope);
|
||||
|
||||
bool
|
||||
weston_log_scope_is_enabled(struct weston_log_scope *scope);
|
||||
|
||||
Reference in New Issue
Block a user