[mutter/cherry-pick-8ca087fe] kms/impl-device/simple: Pass the NULL to discard_page_flip() on shut-down
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/cherry-pick-8ca087fe] kms/impl-device/simple: Pass the NULL to discard_page_flip() on shut-down
- Date: Fri, 9 Jul 2021 09:27:19 +0000 (UTC)
commit 427375960ec347fb744d41106e885dc6a6235b91
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu Jul 1 21:04:01 2021 +0200
kms/impl-device/simple: Pass the NULL to discard_page_flip() on shut-down
The second argument is an optional GError, not an impl device pointer.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1911>
(cherry picked from commit 8ca087fee9fceb2c408e442abd18a169e7ef4486)
src/backends/native/meta-kms-impl-device-simple.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/native/meta-kms-impl-device-simple.c
b/src/backends/native/meta-kms-impl-device-simple.c
index 4f9fe78845..7e8a49413e 100644
--- a/src/backends/native/meta-kms-impl-device-simple.c
+++ b/src/backends/native/meta-kms-impl-device-simple.c
@@ -1503,7 +1503,7 @@ meta_kms_impl_device_simple_prepare_shutdown (MetaKmsImplDevice *impl_device)
g_list_foreach (impl_device_simple->posted_page_flip_datas,
(GFunc) meta_kms_page_flip_data_discard_in_impl,
- impl_device);
+ NULL);
g_clear_list (&impl_device_simple->posted_page_flip_datas, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]