Fix blank popovers

This was a typo in 2b00b64e8c, making
us render the background on the wrong snapshot.
This commit is contained in:
Matthias Clasen 2022-10-13 16:38:41 -04:00
parent 1d2071b892
commit bde19f9b2a

View File

@ -1576,7 +1576,7 @@ create_arrow_render_node (GtkPopover *popover)
0, 0,
gtk_widget_get_width (widget),
gtk_widget_get_height (widget));
gtk_css_style_snapshot_background (&boxes, snapshot);
gtk_css_style_snapshot_background (&boxes, bg_snapshot);
node = gtk_snapshot_free_to_node (bg_snapshot);
if (node)
{