mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 16:44:40 +00:00
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:
@@ -816,7 +816,7 @@ meta_activate_session (void)
|
||||
|
||||
if (!meta_launcher_activate_session (native->launcher, &error))
|
||||
{
|
||||
g_warning ("Could not activate session: %s\n", error->message);
|
||||
g_warning ("Could not activate session: %s", error->message);
|
||||
g_error_free (error);
|
||||
return FALSE;
|
||||
}
|
||||
|
@@ -276,7 +276,7 @@ meta_virtual_input_device_native_notify_key (ClutterVirtualInputDevice *virtual_
|
||||
|
||||
if (get_button_type (key) != EVDEV_BUTTON_TYPE_KEY)
|
||||
{
|
||||
g_warning ("Unknown/invalid virtual device key 0x%x pressed\n", key);
|
||||
g_warning ("Unknown/invalid virtual device key 0x%x pressed", key);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -373,7 +373,7 @@ apply_level_modifiers (ClutterVirtualInputDevice *virtual_device,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_warning ("Unhandled level: %d\n", level);
|
||||
g_warning ("Unhandled level: %d", level);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -425,7 +425,7 @@ meta_virtual_input_device_native_notify_keyval (ClutterVirtualInputDevice *virtu
|
||||
|
||||
if (get_button_type (evcode) != EVDEV_BUTTON_TYPE_KEY)
|
||||
{
|
||||
g_warning ("Unknown/invalid virtual device key 0x%x pressed\n", evcode);
|
||||
g_warning ("Unknown/invalid virtual device key 0x%x pressed", evcode);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user