[gtk/wip/baedert/for-master: 31/56] popover: Remove an unused gtk_widget_get_allocation() call



commit 59c92c905c974f09565dc941cb3baa185fe8e0de
Author: Timm Bäder <mail baedert org>
Date:   Sat Apr 18 07:01:27 2020 +0200

    popover: Remove an unused gtk_widget_get_allocation() call

 gtk/gtkpopover.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 70a15ea3d9..44bdf81acf 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -1278,12 +1278,9 @@ gtk_popover_fill_border_path (GtkPopover *popover,
                               cairo_t    *cr)
 {
   GtkWidget *widget = GTK_WIDGET (popover);
-  GtkAllocation allocation;
   int x, y, w, h;
   GskRoundedRect box;
 
-  gtk_widget_get_allocation (widget, &allocation);
-
   cairo_set_source_rgba (cr, 0, 0, 0, 1);
 
   gtk_popover_apply_tail_path (popover, cr);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]