1
0
Fork 0

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,8 +202,8 @@ get_rtkit_property (MetaDBusRealtimeKit1 *rtkit_proxy,
}
static gboolean
request_real_time_scheduling (MetaThread *thread,
GError **error)
request_realtime_scheduling (MetaThread *thread,
GError **error)
{
MetaThreadPrivate *priv = meta_thread_get_instance_private (thread);
g_autoptr (MetaDBusRealtimeKit1) rtkit_proxy = NULL;
@ -313,7 +313,7 @@ thread_impl_func (gpointer user_data)
{
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",
priv->name, error->message);