popover: Remove an unused gtk_widget_get_allocation() call

This commit is contained in:
Timm Bäder 2020-04-18 07:01:27 +02:00
parent 88f5d4547c
commit 96673d5106

View File

@ -1278,12 +1278,9 @@ gtk_popover_fill_border_path (GtkPopover *popover,
cairo_t *cr) cairo_t *cr)
{ {
GtkWidget *widget = GTK_WIDGET (popover); GtkWidget *widget = GTK_WIDGET (popover);
GtkAllocation allocation;
int x, y, w, h; int x, y, w, h;
GskRoundedRect box; GskRoundedRect box;
gtk_widget_get_allocation (widget, &allocation);
cairo_set_source_rgba (cr, 0, 0, 0, 1); cairo_set_source_rgba (cr, 0, 0, 0, 1);
gtk_popover_apply_tail_path (popover, cr); gtk_popover_apply_tail_path (popover, cr);