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:
Emmanuele Bassi 2011-06-09 16:21:15 +01:00
parent c56d5436d0
commit 552761f3a8
4 changed files with 4 additions and 4 deletions

View File

@ -279,7 +279,7 @@ cogl_material_set_layer_matrix (CoglMaterial *material,
layer_index, matrix);
}
G_CONST_RETURN GList *
const GList *
cogl_material_get_layers (CoglMaterial *material)
{
return _cogl_pipeline_get_layers (COGL_PIPELINE (material));

View File

@ -890,7 +890,7 @@ cogl_material_set_layer_matrix (CoglMaterial *material,
* cogl_material_layer_* functions. The list is owned by Cogl and it
* should not be modified or freed
*/
G_CONST_RETURN GList *
const GList *
cogl_material_get_layers (CoglMaterial *material);
/**

View File

@ -360,7 +360,7 @@ cogl_matrix_init_from_array (CoglMatrix *matrix,
*
* Return value: a pointer to the float array
*/
G_CONST_RETURN float *
const float *
cogl_matrix_get_array (const CoglMatrix *matrix);
#ifdef COGL_ENABLE_EXPERIMENTAL_API

View File

@ -1165,7 +1165,7 @@ _cogl_pipeline_prune_to_n_layers (CoglPipeline *pipeline, int n);
* API to support the deprecate cogl_pipeline_layer_xyz functions...
*/
G_CONST_RETURN GList *
const GList *
_cogl_pipeline_get_layers (CoglPipeline *pipeline);
void