gobject: add 'explicit notify' GParamSpec flag
authorRyan Lortie <desrt@desrt.ca>
Wed, 4 Jun 2014 12:59:50 +0000 (08:59 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 6 Jun 2014 14:25:48 +0000 (10:25 -0400)
commitbbdb2345fc7e5a57cb7af90ab0bf8ced437ada24
tree42e232dbfd7c2505810ee0aee19ac6b05d8dedaa
parentdc496ac7644d11e47b626a879b12813b31ef83b7
gobject: add 'explicit notify' GParamSpec flag

Add a flag to prevent the automatic emission of the "notify" signal
during g_object_set_property().

If this flag is set then the class must explicitly emit the notify
for themselves.  This is already standard practice on most classes, but
we cannot simply remove the existing behaviour because there are surely
many cases where it is needed.

https://bugzilla.gnome.org/show_bug.cgi?id=731200
gobject/gobject.c
gobject/gparam.h