[gtk] Fix blank popovers
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Fix blank popovers
- Date: Thu, 13 Oct 2022 20:39:13 +0000 (UTC)
commit bde19f9b2a6497d526b074bf9b7b2b50ca6fd566
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 13 16:38:41 2022 -0400
Fix blank popovers
This was a typo in 2b00b64e8cbda9d1, making
us render the background on the wrong snapshot.
gtk/gtkpopover.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 326398dbcd..ccbaa788de 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]