Missing documentation how to set a value in a GArray
Submitted by philipp hofmann
Link to original bug (#764599)
Description
It is quite hard to find a way to set a value on a given index in a GArray (like you do with array[0]=4 using c-array).
Thanks to Stackoverflow user Schwern (http://stackoverflow.com/questions/36403775/replace-value-of-given-index-using-garray-of-glib-library) I now know, you can use g_array_index, but it is nowhere documented nor can I find an example.
It would be helpful to add this to documentation or even add a g_array_set_val function/macro.