Commit 664b1668 authored by Matthias Clasen's avatar Matthias Clasen

wayland: Strip newlines from g_warning and g_error

g_logv adds one for us already.
parent 4f422d1f
......@@ -814,7 +814,7 @@ gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
theme = wl_cursor_theme_load (name, size, wayland_display->shm);
if (theme == NULL)
{
g_warning ("Failed to load cursor theme %s\n", name);
g_warning ("Failed to load cursor theme %s", name);
return;
}
......@@ -853,7 +853,7 @@ _gdk_wayland_display_get_scaled_cursor_theme (GdkWaylandDisplay *wayland_display
wayland_display->shm);
if (theme == NULL)
{
g_warning ("Failed to load cursor theme %s with scale %u\n",
g_warning ("Failed to load cursor theme %s with scale %u",
wayland_display->cursor_theme_name, scale);
return NULL;
}
......
......@@ -258,7 +258,7 @@ selection_buffer_read_cb (GObject *object,
{
if (error)
{
g_warning (G_STRLOC ": error reading selection buffer: %s\n", error->message);
g_warning (G_STRLOC ": error reading selection buffer: %s", error->message);
g_error_free (error);
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment