projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59cbb3a
)
Better documentation for g_value_dup_object().
author
Stef Walter
<stefw@collabora.co.uk>
Tue, 15 Feb 2011 18:54:53 +0000
(19:54 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 16 Feb 2011 05:21:27 +0000
(
00:21
-0500)
State that NULL is returned when value is NULL.
gobject/gobject.c
patch
|
blob
|
history
diff --git
a/gobject/gobject.c
b/gobject/gobject.c
index
d32432c
..
c31ec52
100644
(file)
--- a/
gobject/gobject.c
+++ b/
gobject/gobject.c
@@
-3214,7
+3214,8
@@
g_value_get_object (const GValue *value)
* @value: a valid #GValue whose type is derived from %G_TYPE_OBJECT
*
* Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing
- * its reference count.
+ * its reference count. If the contents of the #GValue are %NULL, then
+ * %NULL will be returned.
*
* Returns: (type GObject.Object) (transfer full): object content of @value,
* should be unreferenced when no longer needed.