[mutter] cogl: Fix a few GISCAN warnings
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Fix a few GISCAN warnings
- Date: Thu, 18 Aug 2016 03:36:25 +0000 (UTC)
commit c55943d7534ca969d563160e9f419f8a863ec01b
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu Aug 4 23:03:32 2016 +0800
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
cogl/cogl/cogl-xlib-renderer.h | 2 +-
cogl/cogl/deprecated/cogl-material-compat.h | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/cogl/cogl/cogl-xlib-renderer.h b/cogl/cogl/cogl-xlib-renderer.h
index 04811b4..f3c1d7c 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 d046f45..97f3e9c 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]