Commit 4d075cf2 authored by Timm Bäder's avatar Timm Bäder Committed by Benjamin Otte

popover: Use the right area for drawing the background

The border shouldn't be subtracted.
parent 8b645773
......@@ -856,9 +856,9 @@ gtk_popover_draw (GtkWidget *widget,
/* Render the rect background */
gtk_render_background (context, cr,
rect_x1 + border.left, rect_y1 +,
rect_x2 - rect_x1 - border.left - border.right,
rect_y2 - rect_y1 - - border.bottom);
rect_x1, rect_y1,
rect_x2 - rect_x1,
rect_y2 - rect_y1);
gtk_popover_get_gap_coords (popover,
&initial_x, &initial_y,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment