Fix blank popovers
authorMatthias Clasen <mclasen@redhat.com>
Thu, 13 Oct 2022 20:38:41 +0000 (16:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Oct 2022 20:38:41 +0000 (16:38 -0400)
This was a typo in 2b00b64e8cbda9d1, making
us render the background on the wrong snapshot.

gtk/gtkpopover.c

index 326398dbcd6412e43a9a1240585ed1d0770974e0..ccbaa788de852ddeba03d23c59169400cf8b88ac 100644 (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)
     {