forked from AuroraMiddleware/gtk
wayland: Strip newlines from g_warning and g_error
g_logv adds one for us already.
This commit is contained in:
parent
4f422d1f5b
commit
664b166838
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user