Commit 427457f0 authored by Timm Bäder's avatar Timm Bäder 👎

widget: Fix get_allocation

This was always returning 0/0 as the position, breaking things like the
emoji chooser.
parent b2351f8f
......@@ -11215,8 +11215,8 @@ gtk_widget_get_allocation (GtkWidget *widget,
g_return_if_fail (allocation != NULL);
*allocation = (GtkAllocation) {
(int)graphene_matrix_get_value (&priv->transform, 0, 3),
(int)graphene_matrix_get_value (&priv->transform, 1, 3),
(int)graphene_matrix_get_value (&priv->transform, 3, 0),
(int)graphene_matrix_get_value (&priv->transform, 3, 1),
priv->allocation.width,
priv->allocation.height
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment