summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-08-04 23:03:32 +0800
committerJonas Ådahl <jadahl@gmail.com>2016-08-18 11:32:33 +0800
commitc55943d7534ca969d563160e9f419f8a863ec01b (patch)
tree21c4c9d7e601578acd68d4dc5b4365b38840db31 /cogl
parent19e02b3bbead2b04e65b9024259f74919095273f (diff)
downloadmutter-c55943d7534ca969d563160e9f419f8a863ec01b.tar.gz
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
Diffstat (limited to 'cogl')
-rw-r--r--cogl/cogl/cogl-xlib-renderer.h2
-rw-r--r--cogl/cogl/deprecated/cogl-material-compat.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/cogl/cogl/cogl-xlib-renderer.h b/cogl/cogl/cogl-xlib-renderer.h
index 04811b409..f3c1d7c09 100644
--- a/cogl/cogl/cogl-xlib-renderer.h
+++ b/cogl/cogl/cogl-xlib-renderer.h
@@ -180,7 +180,7 @@ XVisualInfo *
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
* @enable: The new value
*
diff --git a/cogl/cogl/deprecated/cogl-material-compat.h b/cogl/cogl/deprecated/cogl-material-compat.h
index d046f4595..97f3e9c6a 100644
--- a/cogl/cogl/deprecated/cogl-material-compat.h
+++ b/cogl/cogl/deprecated/cogl-material-compat.h
@@ -1307,7 +1307,7 @@ CoglMaterialWrapMode
cogl_material_layer_get_wrap_mode_p (CoglMaterialLayer *layer);
/**
- * cogl_material_set_depth_state:
+ * cogl_material_set_depth_state: (skip)
* @material: A #CoglMaterial object
* @state: A #CoglDepthState struct
* @error: A #CoglError to report failures to setup the given @state.
@@ -1334,7 +1334,7 @@ cogl_material_set_depth_state (CoglMaterial *material,
CoglError **error);
/**
- * cogl_material_get_depth_state:
+ * cogl_material_get_depth_state: (skip)
* @material: A #CoglMaterial object
* @state_out: A destination #CoglDepthState struct
*
@@ -1370,8 +1370,8 @@ typedef CoglBool (*CoglMaterialLayerCallback) (CoglMaterial *material,
/**
* cogl_material_foreach_layer:
* @material: A #CoglMaterial object
- * @callback: A #CoglMaterialLayerCallback to be called for each layer
- * index
+ * @callback: (scope call): A #CoglMaterialLayerCallback to be called for each
+ * layer index
* @user_data: Private data that will be passed to the callback
*
* Iterates all the layer indices of the given @material.