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>
Wed, 29 May 2013 13:25:25 +0000 (09:25 -0400)
commita8a9afe17c0ee484b65c6f75e0d22ad1ae2cd9b6
tree246379b3ebe79ec2ededda0bfc119a4138f27dc5
parent8df1bb3486417bc67a5b38fb8fa81f333b18da22
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.

A previous patch asserted that this was not true and we had to revert it
because it broke the shell.  Instead of reverting, we should have used a
critical, so do that now.

Complaints go to this bug:

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