mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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:
parent
258b85a5a7
commit
8ca087fee9
@ -1503,7 +1503,7 @@ meta_kms_impl_device_simple_prepare_shutdown (MetaKmsImplDevice *impl_device)
|
|||||||
|
|
||||||
g_list_foreach (impl_device_simple->posted_page_flip_datas,
|
g_list_foreach (impl_device_simple->posted_page_flip_datas,
|
||||||
(GFunc) meta_kms_page_flip_data_discard_in_impl,
|
(GFunc) meta_kms_page_flip_data_discard_in_impl,
|
||||||
impl_device);
|
NULL);
|
||||||
g_clear_list (&impl_device_simple->posted_page_flip_datas, NULL);
|
g_clear_list (&impl_device_simple->posted_page_flip_datas, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user