weston-log: rename weston_log_ctx_compositor_create() to weston_log_ctx_create()

Since weston_log_ctx_compositor_create() does not have any relation
with weston_compositor, rename it to weston_log_ctx_create().

Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
This commit is contained in:
Leandro Ribeiro
2020-01-17 11:19:59 -03:00
parent bd9c0a6ff5
commit 4f13595aa7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3156,7 +3156,7 @@ wet_main(int argc, char *argv[])
return EXIT_SUCCESS;
}
log_ctx = weston_log_ctx_compositor_create();
log_ctx = weston_log_ctx_create();
if (!log_ctx) {
fprintf(stderr, "Failed to initialize weston debug framework.\n");
return EXIT_FAILURE;