[clutter] introspection: add some missing annotations



commit 4b6156a57a00214297c696f20e374ad645b97019
Author: Evan Nemerson <evan coeus-group com>
Date:   Thu Jan 12 18:15:55 2012 -0800

    introspection: add some missing annotations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667840

 clutter/clutter-actor.c                   |   20 ++++++++++----------
 clutter/clutter-list-model.c              |    4 ++--
 clutter/deprecated/clutter-timeout-pool.c |    2 +-
 3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index ac6b5a1..090a2a1 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -5841,7 +5841,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::parent-set:
    * @actor: the object which received the signal
-   * @old_parent: the previous parent of the actor, or %NULL
+   * @old_parent: (allow-none): the previous parent of the actor, or %NULL
    *
    * This signal is emitted when the parent of the actor changes.
    *
@@ -5972,7 +5972,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::button-press-event:
    * @actor: the actor which received the event
-   * @event: a #ClutterButtonEvent
+   * @event: (type ClutterButtonEvent): a #ClutterButtonEvent
    *
    * The ::button-press-event signal is emitted each time a mouse button
    * is pressed on @actor.
@@ -5994,7 +5994,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::button-release-event:
    * @actor: the actor which received the event
-   * @event: a #ClutterButtonEvent
+   * @event: (type ClutterButtonEvent): a #ClutterButtonEvent
    *
    * The ::button-release-event signal is emitted each time a mouse button
    * is released on @actor.
@@ -6016,7 +6016,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::scroll-event:
    * @actor: the actor which received the event
-   * @event: a #ClutterScrollEvent
+   * @event: (type ClutterScrollEvent): a #ClutterScrollEvent
    *
    * The ::scroll-event signal is emitted each time the mouse is
    * scrolled on @actor
@@ -6038,7 +6038,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::key-press-event:
    * @actor: the actor which received the event
-   * @event: a #ClutterKeyEvent
+   * @event: (type ClutterKeyEvent): a #ClutterKeyEvent
    *
    * The ::key-press-event signal is emitted each time a keyboard button
    * is pressed while @actor has key focus (see clutter_stage_set_key_focus()).
@@ -6060,7 +6060,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::key-release-event:
    * @actor: the actor which received the event
-   * @event: a #ClutterKeyEvent
+   * @event: (type ClutterKeyEvent): a #ClutterKeyEvent
    *
    * The ::key-release-event signal is emitted each time a keyboard button
    * is released while @actor has key focus (see
@@ -6083,7 +6083,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::motion-event:
    * @actor: the actor which received the event
-   * @event: a #ClutterMotionEvent
+   * @event: (type ClutterMotionEvent): a #ClutterMotionEvent
    *
    * The ::motion-event signal is emitted each time the mouse pointer is
    * moved over @actor.
@@ -6140,7 +6140,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::enter-event:
    * @actor: the actor which the pointer has entered.
-   * @event: a #ClutterCrossingEvent
+   * @event: (type ClutterCrossingEvent): a #ClutterCrossingEvent
    *
    * The ::enter-event signal is emitted when the pointer enters the @actor
    *
@@ -6162,7 +6162,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
   /**
    * ClutterActor::leave-event:
    * @actor: the actor which the pointer has left
-   * @event: a #ClutterCrossingEvent
+   * @event: (type ClutterCrossingEvent): a #ClutterCrossingEvent
    *
    * The ::leave-event signal is emitted when the pointer leaves the @actor.
    *
@@ -12421,7 +12421,7 @@ _clutter_actor_get_stage_internal (ClutterActor *actor)
  *
  * Retrieves the #ClutterStage where @actor is contained.
  *
- * Return value: (transfer none) (type Clutter.Actor): the stage
+ * Return value: (transfer none) (type Clutter.Stage): the stage
  *   containing the actor, or %NULL
  *
  * Since: 0.8
diff --git a/clutter/clutter-list-model.c b/clutter/clutter-list-model.c
index d7a98e2..59e2c93 100644
--- a/clutter/clutter-list-model.c
+++ b/clutter/clutter-list-model.c
@@ -782,8 +782,8 @@ clutter_list_model_new (guint n_columns,
 /**
  * clutter_list_model_newv:
  * @n_columns: number of columns in the model
- * @types: an array of #GType types for the columns, from first to last
- * @names: an array of names for the columns, from first to last
+ * @types: (array length=n_columns): an array of #GType types for the columns, from first to last
+ * @names: (array length=n_columns): an array of names for the columns, from first to last
  *
  * Non-vararg version of clutter_list_model_new(). This function is
  * useful for language bindings.
diff --git a/clutter/deprecated/clutter-timeout-pool.c b/clutter/deprecated/clutter-timeout-pool.c
index 0a7ad4b..9071697 100644
--- a/clutter/deprecated/clutter-timeout-pool.c
+++ b/clutter/deprecated/clutter-timeout-pool.c
@@ -413,7 +413,7 @@ clutter_timeout_pool_new (gint priority)
  * @pool: a #ClutterTimeoutPool
  * @fps: the time between calls to the function, in frames per second
  * @func: function to call
- * @data: data to pass to the function, or %NULL
+ * @data: (closure): data to pass to the function, or %NULL
  * @notify: function to call when the timeout is removed, or %NULL
  *
  * Sets a function to be called at regular intervals, and puts it inside



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