weston-log: rename the confusing function name weston_compositor_add_log_scope()
There's a function named weston_compositor_add_log_scope() but it doesn't take a struct weston_compositor argument. Rename it to weston_log_ctx_add_log_scope(), as the log_scope is being added to a log_context. Also, bump libweston_major to 9. Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
This commit is contained in:
+4
-4
@@ -396,10 +396,10 @@ weston_module_init(struct weston_compositor *compositor)
|
||||
}
|
||||
|
||||
wxs->wm_debug =
|
||||
weston_compositor_add_log_scope(wxs->compositor->weston_log_ctx,
|
||||
"xwm-wm-x11",
|
||||
"XWM's window management X11 events\n",
|
||||
NULL, NULL, NULL);
|
||||
weston_log_ctx_add_log_scope(wxs->compositor->weston_log_ctx,
|
||||
"xwm-wm-x11",
|
||||
"XWM's window management X11 events\n",
|
||||
NULL, NULL, NULL);
|
||||
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user