thread: For consistency, s/real_time/realtime/

Most of the code writes "real-time" as "realtime" not "real_time".

The only exception is one function `request_real_time_scheduling`.

This commit changes that function for consistency.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3324>
This commit is contained in:
Ray Strode 2023-10-10 14:35:46 -04:00
parent b1b95c8681
commit f46e428a5c

View File

@ -202,7 +202,7 @@ get_rtkit_property (MetaDBusRealtimeKit1 *rtkit_proxy,
} }
static gboolean static gboolean
request_real_time_scheduling (MetaThread *thread, request_realtime_scheduling (MetaThread *thread,
GError **error) GError **error)
{ {
MetaThreadPrivate *priv = meta_thread_get_instance_private (thread); MetaThreadPrivate *priv = meta_thread_get_instance_private (thread);
@ -313,7 +313,7 @@ thread_impl_func (gpointer user_data)
{ {
g_autoptr (GError) error = NULL; g_autoptr (GError) error = NULL;
if (!request_real_time_scheduling (thread, &error)) if (!request_realtime_scheduling (thread, &error))
{ {
g_warning ("Failed to make thread '%s' realtime scheduled: %s", g_warning ("Failed to make thread '%s' realtime scheduled: %s",
priv->name, error->message); priv->name, error->message);