[mutter/zbrown/assorted-g-i-things: 37/42] clutter: Update annotations
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/zbrown/assorted-g-i-things: 37/42] clutter: Update annotations
- Date: Sun, 11 Jul 2021 03:04:21 +0000 (UTC)
commit 15a91da9892da5b12cc0a5a95469604331a88db4
Author: Zander Brown <zbrown gnome org>
Date: Tue Jul 6 17:34:46 2021 +0100
clutter: Update annotations
CoglPrimitive isn't introspected so ends up as a raw c:type, mark it as
gpointer
Somehow explictly setting the type of modifier_state caused scanner to drop the
c:type
clutter/clutter/clutter-event.h | 2 +-
clutter/clutter/clutter-paint-node.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter/clutter-event.h b/clutter/clutter/clutter-event.h
index b77e64d15c..453bb24172 100644
--- a/clutter/clutter/clutter-event.h
+++ b/clutter/clutter/clutter-event.h
@@ -364,7 +364,7 @@ struct _ClutterScrollEvent
* @x: the X coordinate of the pointer, relative to the stage
* @y: the Y coordinate of the pointer, relative to the stage
* @sequence: the event sequence that this event belongs to
- * @modifier_state: (type ClutterModifierType): a bit-mask representing the state
+ * @modifier_state: a bit-mask representing the state
* of modifier keys (e.g. Control, Shift, and Alt) and the pointer
* buttons. See #ClutterModifierType
* @axes: reserved
diff --git a/clutter/clutter/clutter-paint-node.c b/clutter/clutter/clutter-paint-node.c
index 57b6b65896..8322122ec7 100644
--- a/clutter/clutter/clutter-paint-node.c
+++ b/clutter/clutter/clutter-paint-node.c
@@ -1034,7 +1034,7 @@ clutter_paint_node_add_texture_rectangles (ClutterPaintNode *node,
/**
* clutter_paint_node_add_primitive: (skip)
* @node: a #ClutterPaintNode
- * @primitive: a Cogl primitive
+ * @primitive: (type gpointer): a Cogl primitive
*
* Adds a region described by a Cogl primitive to the @node.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]