cogl: Fix a few GISCAN warnings

We tried to resolve non-introspected types; lets skip those. We didn't
have a vfunc scope on a for-each loop; declared it synchronous.

https://bugzilla.gnome.org/show_bug.cgi?id=769800
This commit is contained in:
Jonas Ådahl 2016-08-04 23:03:32 +08:00
parent 19e02b3bbe
commit c55943d753
2 changed files with 5 additions and 5 deletions

View File

@ -180,7 +180,7 @@ XVisualInfo *
cogl_xlib_renderer_get_visual_info (CoglRenderer *renderer); cogl_xlib_renderer_get_visual_info (CoglRenderer *renderer);
/** /**
* cogl_xlib_renderer_request_reset_on_video_memory_purge: * cogl_xlib_renderer_request_reset_on_video_memory_purge: (skip)
* @renderer: a #CoglRenderer * @renderer: a #CoglRenderer
* @enable: The new value * @enable: The new value
* *

View File

@ -1307,7 +1307,7 @@ CoglMaterialWrapMode
cogl_material_layer_get_wrap_mode_p (CoglMaterialLayer *layer); cogl_material_layer_get_wrap_mode_p (CoglMaterialLayer *layer);
/** /**
* cogl_material_set_depth_state: * cogl_material_set_depth_state: (skip)
* @material: A #CoglMaterial object * @material: A #CoglMaterial object
* @state: A #CoglDepthState struct * @state: A #CoglDepthState struct
* @error: A #CoglError to report failures to setup the given @state. * @error: A #CoglError to report failures to setup the given @state.
@ -1334,7 +1334,7 @@ cogl_material_set_depth_state (CoglMaterial *material,
CoglError **error); CoglError **error);
/** /**
* cogl_material_get_depth_state: * cogl_material_get_depth_state: (skip)
* @material: A #CoglMaterial object * @material: A #CoglMaterial object
* @state_out: A destination #CoglDepthState struct * @state_out: A destination #CoglDepthState struct
* *
@ -1370,8 +1370,8 @@ typedef CoglBool (*CoglMaterialLayerCallback) (CoglMaterial *material,
/** /**
* cogl_material_foreach_layer: * cogl_material_foreach_layer:
* @material: A #CoglMaterial object * @material: A #CoglMaterial object
* @callback: A #CoglMaterialLayerCallback to be called for each layer * @callback: (scope call): A #CoglMaterialLayerCallback to be called for each
* index * layer index
* @user_data: Private data that will be passed to the callback * @user_data: Private data that will be passed to the callback
* *
* Iterates all the layer indices of the given @material. * Iterates all the layer indices of the given @material.