summaryrefslogtreecommitdiff
path: root/gobject/gbinding.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-08-03 10:34:59 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-08-03 10:34:59 +0100
commit5e1c4b18a806cd8a0f259b314f64f3d99e824773 (patch)
tree5733cc0975abf06287498739cb315081b0d512f5 /gobject/gbinding.c
parent90f7f171e621c296526b3978a75433c30c088b46 (diff)
docs: Clarify user_data behavior for bind_property_full()
Diffstat (limited to 'gobject/gbinding.c')
-rw-r--r--gobject/gbinding.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gobject/gbinding.c b/gobject/gbinding.c
index 0388d072d..06273acb8 100644
--- a/gobject/gbinding.c
+++ b/gobject/gbinding.c
@@ -802,6 +802,12 @@ g_binding_get_target_property (GBinding *binding)
*
* A #GObject can have multiple bindings.
*
+ * <note>The same @user_data parameter will be used for both @transform_to
+ * and @transform_from transformation functions; the @notify function will
+ * be called once, when the binding is removed. If you need different data
+ * for each transformation function, please use
+ * g_object_bind_property_with_closures() instead.</note>
+ *
* Return value: (transfer none): the #GBinding instance representing the
* binding between the two #GObject instances. The binding is released
* whenever the #GBinding reference count reaches zero.