Convert g_type_init() to a ctor
authorRyan Lortie <desrt@desrt.ca>
Mon, 15 Oct 2012 15:53:25 +0000 (11:53 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 16 Oct 2012 13:39:24 +0000 (09:39 -0400)
commit7c42ab23b55c43ab96d0ac2124b550bf1f49c1ec
tree784463bc5640152cb0560066a9c2ed66bb08ed73
parent691c0b053e0d290db407b539ff63849423e60907
Convert g_type_init() to a ctor

Move the guts of g_type_init() into a ctor and turn g_type_init() itself
into a do-nothing function.

g_type_init_with_debug_flags() now ignores its arguments, but it has
always been possible to achieve the same effect via environment
variables.

https://bugzilla.gnome.org/show_bug.cgi?id=686161
docs/reference/gobject/tut_gtype.xml
gobject/gtype.c
gobject/gtype.h