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

@ -435,7 +435,7 @@ merge_spanning_rects_in_region (GList *region)
if (region == NULL)
{
g_warning ("Region to merge was empty! Either you have a some "
"pathological STRUT list or there's a bug somewhere!\n");
"pathological STRUT list or there's a bug somewhere!");
return NULL;
}
@ -955,7 +955,7 @@ meta_rectangle_clamp_to_fit_into_region (const GList *spanning_rects,
/* Clamp rect appropriately */
if (best_rect == NULL)
{
g_warning ("No rect whose size to clamp to found!\n");
g_warning ("No rect whose size to clamp to found!");
/* If it doesn't fit, at least make it no bigger than it has to be */
if (!(fixed_directions & FIXED_DIRECTION_X))
@ -1019,7 +1019,7 @@ meta_rectangle_clip_to_region (const GList *spanning_rects,
/* Clip rect appropriately */
if (best_rect == NULL)
{
g_warning ("No rect to clip to found!\n");
g_warning ("No rect to clip to found!");
}
else
{
@ -1117,7 +1117,7 @@ meta_rectangle_shove_into_region (const GList *spanning_rects,
/* Shove rect appropriately */
if (best_rect == NULL)
{
g_warning ("No rect to shove into found!\n");
g_warning ("No rect to shove into found!");
}
else
{
@ -1439,7 +1439,7 @@ meta_rectangle_edge_cmp_ignore_type (gconstpointer a, gconstpointer b)
}
}
else
g_assert ("Some idiot wanted to sort sides of different types.\n");
g_assert ("Some idiot wanted to sort sides of different types.");
return a_compare - b_compare; /* positive value denotes a > b ... */
}

View File

@ -371,7 +371,7 @@ setup_constraint_info (ConstraintInfo *info,
info->action_type = ACTION_MOVE;
else
g_error ("BAD, BAD developer! No treat for you! (Fix your calls to "
"meta_window_move_resize_internal()).\n");
"meta_window_move_resize_internal()).");
info->is_user_action = (flags & META_MOVE_RESIZE_USER_ACTION);

View File

@ -97,7 +97,7 @@ on_stack_changed (MetaStack *stack)
if (w->unmanaging)
continue;
meta_topic (META_DEBUG_STACK, "%u:%d - %s ",
meta_topic (META_DEBUG_STACK, " %u:%d - %s ",
w->layer, w->stack_position, w->desc);
if (w->frame)