From b2f2050b955870c5313decdbbeec0301d844200e Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Sun, 18 Oct 2020 11:22:31 +0200 Subject: [PATCH] renderer-native: Fix GObjectify oversight This was forgotten in eb14da3874fd7044c, triggering crashes. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1510 --- src/backends/native/meta-renderer-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c index d28a81f6d..3fa3d7400 100644 --- a/src/backends/native/meta-renderer-native.c +++ b/src/backends/native/meta-renderer-native.c @@ -1253,7 +1253,7 @@ dummy_power_save_page_flip_cb (gpointer user_data) g_list_foreach (renderer_native->power_save_page_flip_onscreens, (GFunc) dummy_power_save_page_flip, NULL); 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_source_id = 0;