renderer-native: Fix GObjectify oversight
This was forgotten in eb14da3874
, triggering crashes.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1510
This commit is contained in:
parent
bc41a88c92
commit
b2f2050b95
@ -1253,7 +1253,7 @@ dummy_power_save_page_flip_cb (gpointer user_data)
|
|||||||
g_list_foreach (renderer_native->power_save_page_flip_onscreens,
|
g_list_foreach (renderer_native->power_save_page_flip_onscreens,
|
||||||
(GFunc) dummy_power_save_page_flip, NULL);
|
(GFunc) dummy_power_save_page_flip, NULL);
|
||||||
g_list_free_full (renderer_native->power_save_page_flip_onscreens,
|
g_list_free_full (renderer_native->power_save_page_flip_onscreens,
|
||||||
(GDestroyNotify) cogl_object_unref);
|
g_object_unref);
|
||||||
renderer_native->power_save_page_flip_onscreens = NULL;
|
renderer_native->power_save_page_flip_onscreens = NULL;
|
||||||
renderer_native->power_save_page_flip_source_id = 0;
|
renderer_native->power_save_page_flip_source_id = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user