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
This commit is contained in:
Emmanuele Bassi 2017-10-23 15:23:09 +01:00
parent b1250935a0
commit dd4c800542
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;