From dd4c800542ac9a923e1bee66eb2ffddc539f40fd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 23 Oct 2017 15:23:09 +0100 Subject: [PATCH] Remove unnecessary const We return a scalar value, so we don't need it to be constant. https://bugzilla.gnome.org/show_bug.cgi?id=789351 --- gsk/gskrendernode.h | 2 +- gsk/gskrendernodeimpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;