summaryrefslogtreecommitdiff
path: root/src/compositor/meta-sync-ring.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-10-02 17:47:22 +0200
committerJonas Ådahl <jadahl@gmail.com>2020-10-08 16:38:41 +0200
commit313e3e771c2b54e9ee4d5b043ea866763cf2e85e (patch)
tree0e667180b09863c18a7937db17605785d157df0c /src/compositor/meta-sync-ring.c
parentdbe44f3a83e6a6bdc611bb298e3781a0aebbbd7b (diff)
downloadmutter-313e3e771c2b54e9ee4d5b043ea866763cf2e85e.tar.gz
Make meta_* logging utilities not require line break
Unlike g_* logging utilities, the meta_* counterparts behave like odd printf() functions. Lets change that so they fit better into how logging is done everywhere else. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1466
Diffstat (limited to 'src/compositor/meta-sync-ring.c')
-rw-r--r--src/compositor/meta-sync-ring.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compositor/meta-sync-ring.c b/src/compositor/meta-sync-ring.c
index 944b4a886..917bf1235 100644
--- a/src/compositor/meta-sync-ring.c
+++ b/src/compositor/meta-sync-ring.c
@@ -138,7 +138,7 @@ load_gl_symbol (const char *name,
*func = cogl_get_proc_address (name);
if (!*func)
{
- meta_verbose ("MetaSyncRing: failed to resolve required GL symbol \"%s\"\n", name);
+ meta_verbose ("MetaSyncRing: failed to resolve required GL symbol \"%s\"", name);
return FALSE;
}
return TRUE;
@@ -215,7 +215,7 @@ load_required_symbols (void)
if (!check_gl_extensions ())
{
- meta_verbose ("MetaSyncRing: couldn't find required GL extensions\n");
+ meta_verbose ("MetaSyncRing: couldn't find required GL extensions");
goto out;
}
@@ -497,7 +497,7 @@ meta_sync_ring_reboot (Display *xdisplay)
if (!meta_sync_ring_get ())
{
- meta_warning ("MetaSyncRing: Too many reboots -- disabling\n");
+ meta_warning ("MetaSyncRing: Too many reboots -- disabling");
return FALSE;
}
@@ -522,13 +522,13 @@ meta_sync_ring_after_frame (void)
GLenum status = meta_sync_check_update_finished (sync_to_reset, 0);
if (status == GL_TIMEOUT_EXPIRED)
{
- meta_warning ("MetaSyncRing: We should never wait for a sync -- add more syncs?\n");
+ meta_warning ("MetaSyncRing: We should never wait for a sync -- add more syncs?");
status = meta_sync_check_update_finished (sync_to_reset, MAX_SYNC_WAIT_TIME);
}
if (status != GL_ALREADY_SIGNALED && status != GL_CONDITION_SATISFIED)
{
- meta_warning ("MetaSyncRing: Timed out waiting for sync object.\n");
+ meta_warning ("MetaSyncRing: Timed out waiting for sync object.");
return meta_sync_ring_reboot (ring->xdisplay);
}
@@ -559,7 +559,7 @@ meta_sync_ring_insert_wait (void)
if (ring->current_sync->state != META_SYNC_STATE_READY)
{
- meta_warning ("MetaSyncRing: Sync object is not ready -- were events handled properly?\n");
+ meta_warning ("MetaSyncRing: Sync object is not ready -- were events handled properly?");
if (!meta_sync_ring_reboot (ring->xdisplay))
return FALSE;
}