mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
popover: Stop using gtk_widget_get_allocated_width
This commit is contained in:
parent
3f4f37661c
commit
71a752490a
@ -1216,8 +1216,8 @@ gtk_popover_get_gap_coords (GtkPopover *popover,
|
|||||||
GtkCssStyle *style;
|
GtkCssStyle *style;
|
||||||
GtkBorder shadow_width;
|
GtkBorder shadow_width;
|
||||||
|
|
||||||
popover_width = gtk_widget_get_allocated_width (widget);
|
popover_width = gtk_widget_get_width (widget);
|
||||||
popover_height = gtk_widget_get_allocated_height (widget);
|
popover_height = gtk_widget_get_height (widget);
|
||||||
|
|
||||||
compute_surface_pointing_to (popover, &rect);
|
compute_surface_pointing_to (popover, &rect);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user