content-protection: stop direct accessing core struct member
authorLeandro Ribeiro <leandrohr@riseup.net>
Thu, 26 Dec 2019 19:41:09 +0000 (16:41 -0300)
committerPekka Paalanen <pq@iki.fi>
Wed, 29 Jan 2020 09:55:24 +0000 (09:55 +0000)
commitfa505c588f041750b1429cf166ee0096e3ae19ca
tree728e2514daffe5a0df633f2f797da7236929cfd6
parentce1001966ea87026fc9dd58c69455db3e4582b3b
content-protection: stop direct accessing core struct member

Commit "weston-log: add function to avoid direct
access to compositor members in non-core code" added the
function weston_compositor_add_log_scope mainly to allow
libweston users to avoid direct accessing core structs, as
weston_compositor.

Replace weston_log_context_add_log_scope usage by
weston_compositor_add_log_scope.

Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
libweston/content-protection.c