Use reference counting for GSequence
@juergbi
Submitted by Jürg Billeter Link to original bug (#568040)
Description
It would make sense to add reference counting to GSequence as it has been done earlier for GHashTable, i.e., add a ref_count field, implement g_sequence_ref and g_sequence_unref, and deprecate g_sequence_free. This would make GSequence more convenient to use in Vala applications, for example.