mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 23:50:16 +00:00
widget: Unref previous transform
This commit is contained in:
parent
1459ca2c26
commit
449c96ffb3
@ -4468,6 +4468,7 @@ gtk_widget_allocate (GtkWidget *widget,
|
|||||||
if (adjusted.x || adjusted.y)
|
if (adjusted.x || adjusted.y)
|
||||||
transform = gsk_transform_translate (transform, &GRAPHENE_POINT_INIT (adjusted.x, adjusted.y));
|
transform = gsk_transform_translate (transform, &GRAPHENE_POINT_INIT (adjusted.x, adjusted.y));
|
||||||
|
|
||||||
|
gsk_transform_unref (priv->transform);
|
||||||
priv->transform = transform;
|
priv->transform = transform;
|
||||||
|
|
||||||
if (priv->surface_transform_data)
|
if (priv->surface_transform_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user