Remove G_CONST_RETURN
It is going to be deprecated by GLib, see bug: https://bugzilla.gnome.org/show_bug.cgi?id=644611
This commit is contained in:
parent
c56d5436d0
commit
552761f3a8
@ -279,7 +279,7 @@ cogl_material_set_layer_matrix (CoglMaterial *material,
|
|||||||
layer_index, matrix);
|
layer_index, matrix);
|
||||||
}
|
}
|
||||||
|
|
||||||
G_CONST_RETURN GList *
|
const GList *
|
||||||
cogl_material_get_layers (CoglMaterial *material)
|
cogl_material_get_layers (CoglMaterial *material)
|
||||||
{
|
{
|
||||||
return _cogl_pipeline_get_layers (COGL_PIPELINE (material));
|
return _cogl_pipeline_get_layers (COGL_PIPELINE (material));
|
||||||
|
@ -890,7 +890,7 @@ cogl_material_set_layer_matrix (CoglMaterial *material,
|
|||||||
* cogl_material_layer_* functions. The list is owned by Cogl and it
|
* cogl_material_layer_* functions. The list is owned by Cogl and it
|
||||||
* should not be modified or freed
|
* should not be modified or freed
|
||||||
*/
|
*/
|
||||||
G_CONST_RETURN GList *
|
const GList *
|
||||||
cogl_material_get_layers (CoglMaterial *material);
|
cogl_material_get_layers (CoglMaterial *material);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -360,7 +360,7 @@ cogl_matrix_init_from_array (CoglMatrix *matrix,
|
|||||||
*
|
*
|
||||||
* Return value: a pointer to the float array
|
* Return value: a pointer to the float array
|
||||||
*/
|
*/
|
||||||
G_CONST_RETURN float *
|
const float *
|
||||||
cogl_matrix_get_array (const CoglMatrix *matrix);
|
cogl_matrix_get_array (const CoglMatrix *matrix);
|
||||||
|
|
||||||
#ifdef COGL_ENABLE_EXPERIMENTAL_API
|
#ifdef COGL_ENABLE_EXPERIMENTAL_API
|
||||||
|
@ -1165,7 +1165,7 @@ _cogl_pipeline_prune_to_n_layers (CoglPipeline *pipeline, int n);
|
|||||||
* API to support the deprecate cogl_pipeline_layer_xyz functions...
|
* API to support the deprecate cogl_pipeline_layer_xyz functions...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G_CONST_RETURN GList *
|
const GList *
|
||||||
_cogl_pipeline_get_layers (CoglPipeline *pipeline);
|
_cogl_pipeline_get_layers (CoglPipeline *pipeline);
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user