Document NULL shortcut to g_value_array_insert etc.
authorWill Thompson <will@willthompson.co.uk>
Thu, 8 Jul 2010 23:30:53 +0000 (19:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 8 Jul 2010 23:30:53 +0000 (19:30 -0400)
commit2504ec988e0288b8616907b43e489c74d49a08f0
tree32bb5bd403905e82263764ecbc3898ef05839fcc
parentcc44ef148c578ec87f71c155549a5d352a30bb3a
Document NULL shortcut to g_value_array_insert etc.

You can pass a NULL GValue * to any of g_value_array_insert, _prepend or
_append to add a new, uninitialized value. This is a very useful
shortcut, and it should be documented rather than left languishing in a
comment in the implementation.

Fixes Gnome bug #552363.
gobject/gvaluearray.c