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>
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;
take place much earlier without the need of a compositor instance.
Instantiation of the :type:`weston_log_context` object takes place using
-:func:`weston_log_ctx_compositor_create()` and clean-up/destroy with
+:func:`weston_log_ctx_create()` and clean-up/destroy with
:func:`weston_log_ctx_compositor_destroy()`.
Log scopes
weston_touch_calibration_save_func save);
struct weston_log_context *
-weston_log_ctx_compositor_create(void);
+weston_log_ctx_create(void);
void
weston_log_ctx_compositor_destroy(struct weston_compositor *compositor);
*
*/
WL_EXPORT struct weston_log_context *
-weston_log_ctx_compositor_create(void)
+weston_log_ctx_create(void)
{
struct weston_log_context *log_ctx;