mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 02:17:51 +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:
@@ -258,7 +258,7 @@ g_source_set_closure (GSource *source,
|
||||
source->source_funcs != &g_timeout_funcs &&
|
||||
source->source_funcs != &g_idle_funcs)
|
||||
{
|
||||
g_critical (G_STRLOC ": closure cannot be set on GSource without GSourceFuncs::closure_callback\n");
|
||||
g_critical (G_STRLOC ": closure cannot be set on GSource without GSourceFuncs::closure_callback");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user