g_object_get_property: document that value must be initialized
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 17 Dec 2010 12:34:28 +0000 (12:34 +0000)
committerWill Thompson <will.thompson@collabora.co.uk>
Fri, 17 Dec 2010 13:21:07 +0000 (13:21 +0000)
commitac4722df1c9802b0c78bba31aa9004348eb1813d
treee6b46e562eba6fe44b2f6d2e7e9c132852dcf363
parentd3ce12571cf8dc9f925ffa344887c26b16bcbf1e
g_object_get_property: document that value must be initialized

I couldn't tell from reading the documentation whether I had to pass in
an uninitialized value, or a value initialized to the exact type, or
something else. It turns out (from reading the source) that you have to
pass in an initialized value, but you can use any type to which the
property's actual type can be transformed.

So, let's document this.
gobject/gobject.c