g_object_new Should Mention That it Zeroes Out Private Struct
Submitted by Kurt von Laven
g_object_new initializes members of the relevant private struct to all zeroes (c.f., https://git.gnome.org/browse/glib/tree/gobject/gtype.c#n1782). This is a nice property because it means that you don't have to make an init method just to set a lot of values to NULL, 0, FALSE, etc. The documentation mentions that construction parameters are set to their default values, and it should also mention that the relevant private struct is initialized to all zeroes.