From ee854ed7ab2111b3527012ce92a309debdc4e5d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 8 Nov 2019 23:49:26 +0100 Subject: [PATCH] kms: Fix function name meta_kms_update_process_..() makes it sound like it's a MetaKmsUpdate function called update_..() but in fact it's a MetaKms function that calls the corresponding process-update impl function. Clear up this naming confusion. https://gitlab.gnome.org/GNOME/mutter/merge_requests/930 --- src/backends/native/meta-kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/native/meta-kms.c b/src/backends/native/meta-kms.c index 9c09a9504..6ee21e60e 100644 --- a/src/backends/native/meta-kms.c +++ b/src/backends/native/meta-kms.c @@ -202,7 +202,7 @@ meta_kms_predict_states_in_impl (MetaKms *kms, } static gpointer -meta_kms_update_process_in_impl (MetaKmsImpl *impl, +meta_kms_process_update_in_impl (MetaKmsImpl *impl, gpointer user_data, GError **error) { @@ -229,7 +229,7 @@ meta_kms_post_update_sync (MetaKms *kms, "KMS (post update)"); ret = meta_kms_run_impl_task_sync (kms, - meta_kms_update_process_in_impl, + meta_kms_process_update_in_impl, update, error); return GPOINTER_TO_INT (ret);