summaryrefslogtreecommitdiff
path: root/gir/gobject-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/gobject-2.0.c')
-rw-r--r--gir/gobject-2.0.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
index 56947b35..e7831801 100644
--- a/gir/gobject-2.0.c
+++ b/gir/gobject-2.0.c
@@ -827,7 +827,12 @@
*
* Retrieves the #GObject instance used as the source of the binding.
*
- * Returns: (transfer none): the source #GObject
+ * A #GBinding can outlive the source #GObject as the binding does not hold a
+ * strong reference to the source. If the source is destroyed before the
+ * binding then this function will return %NULL.
+ *
+ * Returns: (transfer none) (nullable): the source #GObject, or %NULL if the
+ * source does not exist any more.
* Since: 2.26
*/
@@ -850,7 +855,12 @@
*
* Retrieves the #GObject instance used as the target of the binding.
*
- * Returns: (transfer none): the target #GObject
+ * A #GBinding can outlive the target #GObject as the binding does not hold a
+ * strong reference to the target. If the target is destroyed before the
+ * binding then this function will return %NULL.
+ *
+ * Returns: (transfer none) (nullable): the target #GObject, or %NULL if the
+ * target does not exist any more.
* Since: 2.26
*/