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:
parent
5d72be4016
commit
d10533cc1c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user