From 71a752490a9fe607db954d2f4b803dbfd0c85b68 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 29 Apr 2023 14:00:30 -0400 Subject: [PATCH] popover: Stop using gtk_widget_get_allocated_width --- gtk/gtkpopover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index 90d7df6ffb..f1025fc333 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -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);