popover: Stop using gtk_widget_get_allocated_width

This commit is contained in:
Matthias Clasen 2023-04-29 14:00:30 -04:00
parent 3f4f37661c
commit 71a752490a

View File

@ -1216,8 +1216,8 @@ gtk_popover_get_gap_coords (GtkPopover *popover,
GtkCssStyle *style;
GtkBorder shadow_width;
popover_width = gtk_widget_get_allocated_width (widget);
popover_height = gtk_widget_get_allocated_height (widget);
popover_width = gtk_widget_get_width (widget);
popover_height = gtk_widget_get_height (widget);
compute_surface_pointing_to (popover, &rect);