[glib: 1/2] Fix annotation of g_binding_unbind() to transfer-full



commit c66c277e248566195be3607349c155eef56787f9
Author: Sebastian Dröge <sebastian centricular com>
Date:   Wed Jul 25 14:39:51 2018 +0300

    Fix annotation of g_binding_unbind() to transfer-full
    
    It takes ownership of the binding reference passed in as described in
    the documentation already.

 gobject/gbinding.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/gbinding.c b/gobject/gbinding.c
index 899dc84fd..6872b9662 100644
--- a/gobject/gbinding.c
+++ b/gobject/gbinding.c
@@ -748,7 +748,7 @@ g_binding_get_target_property (GBinding *binding)
 
 /**
  * g_binding_unbind:
- * @binding: a #GBinding
+ * @binding: (transfer full): a #GBinding
  *
  * Explicitly releases the binding between the source and the target
  * property expressed by @binding.


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