stack: Fix under transitions

make sure we initialize both width and height with proper values.
This commit is contained in:
Timm Bäder 2017-07-01 19:15:01 +02:00 committed by Matthias Clasen
parent 2c958df789
commit c8ca43ad51

View File

@ -1840,6 +1840,9 @@ gtk_stack_snapshot_under (GtkWidget *widget,
gtk_widget_get_content_size (widget, &widget_width, &widget_height);
x = y = 0;
width = widget_width;
height = widget_height;
pos_x = pos_y = 0;
switch (priv->active_transition_type)