diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 2d70939f38..4e14038634 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -117,7 +117,7 @@ const graphene_point_t * gsk_linear_gradient_node_peek_start (GskRenderNo GDK_AVAILABLE_IN_3_94 const graphene_point_t * gsk_linear_gradient_node_peek_end (GskRenderNode *node); GDK_AVAILABLE_IN_3_94 -const gsize gsk_linear_gradient_node_get_n_color_stops (GskRenderNode *node); +gsize gsk_linear_gradient_node_get_n_color_stops (GskRenderNode *node); GDK_AVAILABLE_IN_3_94 const GskColorStop * gsk_linear_gradient_node_peek_color_stops (GskRenderNode *node); diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c index 157835f450..6e502d0d4e 100644 --- a/gsk/gskrendernodeimpl.c +++ b/gsk/gskrendernodeimpl.c @@ -412,7 +412,7 @@ gsk_linear_gradient_node_peek_end (GskRenderNode *node) return &self->end; } -const gsize +gsize gsk_linear_gradient_node_get_n_color_stops (GskRenderNode *node) { GskLinearGradientNode *self = (GskLinearGradientNode *) node;