[gtk/wip/baedert/for-master] widget: Save a gtk_css_node_get_style call



commit ce64cde996e25747a0a82b332ca8351f9d7d2db6
Author: Timm Bäder <mail baedert org>
Date:   Sun Jul 12 14:38:50 2020 +0200

    widget: Save a gtk_css_node_get_style call

 gtk/gtkwidget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a3215427b4..81c7c3e3f5 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11373,7 +11373,7 @@ gtk_widget_create_render_node (GtkWidget   *widget,
                            "RenderNode for %s %p",
                            G_OBJECT_TYPE_NAME (widget), widget);
 
-  filter_value = gtk_css_node_get_style (priv->cssnode)->other->filter;
+  filter_value = style->other->filter;
   gtk_css_filter_value_push_snapshot (filter_value, snapshot);
 
   if (opacity < 1.0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]