[gtk/wip/otte/conic: 2/3] rendernode: Fix some wrong constants for conic gradients




commit fde857f9910c47973d80c41727051380da7eab4b
Author: Benjamin Otte <otte redhat com>
Date:   Thu Dec 3 06:00:21 2020 +0100

    rendernode: Fix some wrong constants for conic gradients
    
    copy/paste from other nodes left some wrong values in there and that
    screwed things up quite a bit.

 gsk/gskrendernodeimpl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index ad8e236b65..9c93417423 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -5333,8 +5333,8 @@ gsk_render_node_init_types_once (void)
   {
     const GskRenderNodeTypeInfo node_info =
     {
-      GSK_REPEATING_RADIAL_GRADIENT_NODE,
-      sizeof (GskRadialGradientNode),
+      GSK_CONIC_GRADIENT_NODE,
+      sizeof (GskConicGradientNode),
       NULL,
       gsk_conic_gradient_node_finalize,
       gsk_conic_gradient_node_draw,


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