cogl: Port MatrixStack away from CoglObject

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3193>
This commit is contained in:
Bilal Elmoussaoui
2023-08-18 10:29:42 +02:00
committed by Marge Bot
parent d71fe5c55e
commit 4afc187062
6 changed files with 41 additions and 38 deletions

View File

@ -247,7 +247,7 @@ static void
clutter_pick_stack_dispose (ClutterPickStack *pick_stack)
{
remove_pick_stack_weak_refs (pick_stack);
g_clear_pointer (&pick_stack->matrix_stack, cogl_object_unref);
g_clear_object (&pick_stack->matrix_stack);
g_clear_pointer (&pick_stack->vertices_stack, g_array_unref);
g_clear_pointer (&pick_stack->clip_stack, g_array_unref);
}