mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 00:43:40 +02:00
all: Remove trailing newlines from g_message()/g_warning()/g_error()s
All those logging functions already add a newline to any message they print, so there’s no need to add a trailing newline in the message passed to them. Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
@@ -72,7 +72,7 @@ org_gtk_Menus_get_interface (void)
|
||||
" </interface>"
|
||||
"</node>", &error);
|
||||
if (info == NULL)
|
||||
g_error ("%s\n", error->message);
|
||||
g_error ("%s", error->message);
|
||||
interface_info = g_dbus_node_info_lookup_interface (info, "org.gtk.Menus");
|
||||
g_assert (interface_info != NULL);
|
||||
g_dbus_interface_info_ref (interface_info);
|
||||
|
Reference in New Issue
Block a user