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>
This commit is contained in:
Jonas Ådahl 2021-07-01 21:04:01 +02:00 committed by Marge Bot
parent 258b85a5a7
commit 8ca087fee9

View File

@ -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);
}