[glib] gobject: Mention transfer semantics of installing properties on GObjects
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gobject: Mention transfer semantics of installing properties on GObjects
- Date: Wed, 14 Feb 2018 15:12:25 +0000 (UTC)
commit 809c66639fe267fab77828dac19fb9d29bd12ae5
Author: Philip Withnall <withnall endlessm com>
Date: Wed Feb 14 15:11:11 2018 +0000
gobject: Mention transfer semantics of installing properties on GObjects
GParamSpec supports floating references.
Signed-off-by: Philip Withnall <withnall endlessm com>
Reviewed-by: nobody
gobject/gobject.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gobject/gobject.c b/gobject/gobject.c
index c5bef2ecf..81a1162e9 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -749,6 +749,8 @@ g_object_class_install_properties (GObjectClass *oclass,
* #GTypeInfo.) It must not be called after after @class_init has
* been called for any object types implementing this interface.
*
+ * If @pspec is a floating reference, it will be consumed.
+ *
* Since: 2.4
*/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]