forked from AuroraMiddleware/gtk
popover: Remove an unused gtk_widget_get_allocation() call
This commit is contained in:
parent
88f5d4547c
commit
96673d5106
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user