GNOME Bugzilla – Bug 614164
Add ref/unref functions to GValueArray
Last modified: 2012-02-27 03:38:51 UTC
Hi, attached patch adds ref/unref functions to GValueArray. The approach taken is the same as for GArray and friends.
Created attachment 157315 [details] [review] Add g_value_array_ref() and g_value_array_unref() functions
Created attachment 157316 [details] [review] Add g_value_array_ref() and g_value_array_unref() functions
Created attachment 157318 [details] [review] Use ref/unref functions of GValueArray for the boxed type
(In reply to comment #3) > Created an attachment (id=157318) [details] [review] > Use ref/unref functions of GValueArray for the boxed type Not sure if this is an API change (because you now get refs instead of copies) but it prevents copying of the complete array in some places. Maybe this one should wait until GLib 3.0 :)
Can we get the patch for adding the functions in at least?
Any chance we can get the first patch (that only adds the functions and nothing else) pushed now?
since we're deprecating GValueArray, this won't land