GNOME Bugzilla – Bug 622770
needs to document when floating variants are consumed
Last modified: 2010-08-14 02:44:26 UTC
The gvariant docs aren't very clear on when a floating gvariant is consumed. E.g. g_variant_new_variant() does ref_sink(), so consumes a floating variant, but the docs don't mention this. Also for g_variant_new_maybe(), new_array(), etc. And for g_variant_new () with "@" or "v".
Created attachment 166651 [details] [review] patch 1/3
Created attachment 166652 [details] [review] patch 2/3
Created attachment 166653 [details] [review] patch 3/3
Thanks, committed