summaryrefslogtreecommitdiff
path: root/gir/gobject-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-10-20 09:33:11 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-10-20 09:33:11 +0200
commit3d472c757cd6c74a0ac02ad2d9163bdd39b8d6e0 (patch)
tree341c979de632d79d853f7271201ecfae099e50e8 /gir/gobject-2.0.c
parentb92412589d9d8d64a2d0cb5a90613e965a864301 (diff)
downloadgobject-introspection-gnome-3-38.tar.gz
gir: Update annotations from glib 2.66.2gnome-3-38
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
*/