[glib] Fix annotations for source/target in g_object_bind_property_*



commit 8e716cbb497ba0cee11a86410c6faff805ea7d90
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Thu Sep 22 17:16:55 2011 +0100

    Fix annotations for source/target in g_object_bind_property_*
    
    We use gpointer for convience of the C API users, but introspection
    users will not like it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659838

 gobject/gbinding.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gobject/gbinding.c b/gobject/gbinding.c
index c7f3a06..39de99f 100644
--- a/gobject/gbinding.c
+++ b/gobject/gbinding.c
@@ -771,9 +771,9 @@ g_binding_get_target_property (GBinding *binding)
 
 /**
  * g_object_bind_property_full:
- * @source: the source #GObject
+ * @source: (type GObject.Object): the source #GObject
  * @source_property: the property on @source to bind
- * @target: the target #GObject
+ * @target: (type GObject.Object): the target #GObject
  * @target_property: the property on @target to bind
  * @flags: flags to pass to #GBinding
  * @transform_to: (scope notified) (allow-none): the transformation function
@@ -961,9 +961,9 @@ g_object_bind_property_full (gpointer               source,
 
 /**
  * g_object_bind_property:
- * @source: the source #GObject
+ * @source: (type GObject.Object): the source #GObject
  * @source_property: the property on @source to bind
- * @target: the target #GObject
+ * @target: (type GObject.Object): the target #GObject
  * @target_property: the property on @target to bind
  * @flags: flags to pass to #GBinding
  *
@@ -1121,9 +1121,9 @@ bind_with_closures_free_func (gpointer data)
 
 /**
  * g_object_bind_property_with_closures:
- * @source: the source #GObject
+ * @source: (type GObject.Object): the source #GObject
  * @source_property: the property on @source to bind
- * @target: the target #GObject
+ * @target: (type GObject.Object): the target #GObject
  * @target_property: the property on @target to bind
  * @flags: flags to pass to #GBinding
  * @transform_to: a #GClosure wrapping the transformation function



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