[clutter/clutter-1.16] Fix annotations for signal arguments



commit 2e905dd9d485f932a40d94ba776492a3a6101866
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jul 3 13:13:41 2013 +0100

    Fix annotations for signal arguments
    
    The introspection scanner started warning about mismatched arguments
    number.

 clutter/clutter-actor.c                  |    4 ++++
 clutter/x11/clutter-x11-texture-pixmap.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 79be98a..9b4ded5 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -8303,10 +8303,14 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::touch-event:
    * @actor: a #ClutterActor
+   * @event: a #ClutterEvent
    *
    * The ::touch-event signal is emitted each time a touch
    * begin/end/update/cancel event.
    *
+   * Return value: %CLUTTER_EVENT_STOP if the event has been handled by
+   *   the actor, or %CLUTTER_EVENT_PROPAGATE to continue the emission.
+   *
    * Since: 1.12
    */
   actor_signals[TOUCH_EVENT] =
diff --git a/clutter/x11/clutter-x11-texture-pixmap.c b/clutter/x11/clutter-x11-texture-pixmap.c
index 62add19..6f2a1db 100644
--- a/clutter/x11/clutter-x11-texture-pixmap.c
+++ b/clutter/x11/clutter-x11-texture-pixmap.c
@@ -649,6 +649,10 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
   /**
    * ClutterX11TexturePixmap::update-area:
    * @texture: the object which received the signal
+   * @x: X coordinate of the area to update
+   * @y: Y coordinate of the area to update
+   * @width: width of the area to update
+   * @height: height of the area to update
    *
    * The ::update-area signal is emitted to ask the texture to update its
    * content from its source pixmap.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]