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:
8466ba8
)
Make g_variant_builder_end's return to be (allow none) because callers
author
Tomeu Vizoso
<tomeu.vizoso@collabora.co.uk>
Mon, 13 Sep 2010 15:53:54 +0000
(17:53 +0200)
committer
Tomeu Vizoso
<tomeu.vizoso@collabora.co.uk>
Mon, 13 Sep 2010 15:55:18 +0000
(17:55 +0200)
need to add a ref to it in addition to sinking it.
glib/gvariant.c
patch
|
blob
|
history
diff --git
a/glib/gvariant.c
b/glib/gvariant.c
index
bbfa95c
..
133bfa1
100644
(file)
--- a/
glib/gvariant.c
+++ b/
glib/gvariant.c
@@
-3056,7
+3056,7
@@
g_variant_make_array_type (GVariant *element)
/**
* g_variant_builder_end:
* @builder: a #GVariantBuilder
- * @returns: a new, floating, #GVariant
+ * @returns:
(transfer none):
a new, floating, #GVariant
*
* Ends the builder process and returns the constructed value.
*