GObject: require READ or WRITE on property install
authorRyan Lortie <desrt@desrt.ca>
Wed, 21 Dec 2011 00:43:21 +0000 (19:43 -0500)
committerRyan Lortie <desrt@desrt.ca>
Wed, 21 Dec 2011 00:43:21 +0000 (19:43 -0500)
commitb2371871097ef2b52bdb4688d702438c9e3f1787
treeb8c2b4c573c3ef2f9dfc4d5df394dc48f1840438
parent4e793c2eefab1a9b5b0c29b530cbe77fb53d7396
GObject: require READ or WRITE on property install

g_object_class_install_property() currently lets you install properties
that are neither readable nor writable.  Add a check to prevent that.

https://bugzilla.gnome.org/show_bug.cgi?id=666616
gobject/gobject.c
gobject/tests/param.c