mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +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;
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user