cogl/pango: Fix wrong unref function

PangoRenderer is a GObject not a CoglObject
Noticed while working on
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3193

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3197>
This commit is contained in:
Bilal Elmoussaoui 2023-08-21 10:36:54 +00:00 committed by Marge Bot
parent 5d72be4016
commit d10533cc1c

View File

@ -57,7 +57,7 @@ free_priv (gpointer data)
CoglPangoFontMapPriv *priv = data; CoglPangoFontMapPriv *priv = data;
cogl_object_unref (priv->ctx); cogl_object_unref (priv->ctx);
cogl_object_unref (priv->renderer); g_object_unref (priv->renderer);
g_free (priv); g_free (priv);
} }