weston-log: rename the confusing function name weston_compositor_add_log_scope()
authorLeandro Ribeiro <leandrohr@riseup.net>
Wed, 18 Dec 2019 18:21:03 +0000 (15:21 -0300)
committerLeandro Ribeiro <leandrohr@riseup.net>
Mon, 27 Jan 2020 16:42:42 +0000 (13:42 -0300)
commit5976dbbbb5bbdbae44880b5467b055a0a3aa83f1
treecb1b9bd972bb35d5133870e9496a9f414d8f2157
parentee73105f50969620dc25373ead2a405956c1c4bc
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>
compositor/main.c
doc/sphinx/toc/libweston/log.rst
include/libweston/weston-log.h
libweston/backend-drm/drm.c
libweston/compositor.c
libweston/content-protection.c
libweston/weston-log.c
meson.build
pipewire/pipewire-plugin.c
xwayland/launcher.c