Remove misplaced line break in g_* logging functions

They resulted in empty lines in the log.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1466
This commit is contained in:
Jonas Ådahl
2020-10-02 17:54:56 +02:00
parent 7266e516a1
commit 2c95e08998
16 changed files with 30 additions and 30 deletions

View File

@ -362,7 +362,7 @@ transfer_cb (MetaSelection *selection,
if (!meta_selection_transfer_finish (selection, res, &error))
{
g_warning ("Could not transfer DnD selection: %s\n", error->message);
g_warning ("Could not transfer DnD selection: %s", error->message);
g_error_free (error);
}

View File

@ -255,7 +255,7 @@ bind_to_unix_socket (int display)
unlink (addr.sun_path);
if (bind (fd, (struct sockaddr *) &addr, size) < 0)
{
g_warning ("failed to bind to %s: %m\n", addr.sun_path);
g_warning ("failed to bind to %s: %m", addr.sun_path);
close (fd);
return -1;
}
@ -501,7 +501,7 @@ on_init_x11_cb (MetaDisplay *display,
g_autoptr (GError) error = NULL;
if (!meta_display_init_x11_finish (display, result, &error))
g_warning ("Failed to initialize X11 display: %s\n", error->message);
g_warning ("Failed to initialize X11 display: %s", error->message);
}
static gboolean