GObject: prevent installing properties after init
authorRyan Lortie <desrt@desrt.ca>
Mon, 22 Apr 2013 21:37:18 +0000 (17:37 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 22 Apr 2013 21:40:51 +0000 (17:40 -0400)
commitddb0ce14215cd62c7a2497d6cf9f2ea63c40ebb5
tree9f24682691373680d9729d02ac2f144863ea7161
parent31fde567a95ff8f50b6b0e75d4010da9b73514ed
GObject: prevent installing properties after init

GObject has previously allowed installing properties after class_init
has finished running.  This means that you could install some of your
own properties on G_TYPE_OBJECT, for example, although they wouldn't
have worked properly.

Prevent this from happening.  Require that all properties are installed by
the time class_init has finished.

Complaints go to this bug:

https://bugzilla.gnome.org/show_bug.cgi?id=698614
gobject/gobject.c
gobject/gtype-private.h
gobject/gtype.c