GNOME Bugzilla – Bug 749353
GBinding does not connect to the detailed notify signal
Last modified: 2015-05-14 11:00:33 UTC
Because GBinding does not connect to the detailed notify signal the handlers get called for each and every emission of the signal. This causes quite a few spurious calls, for example: Starting Builder and having it open to the project window: 379 Opening a project and a few files: 2148
Created attachment 303350 [details] [review] Connect to the detailed notify signal in GBinding This avoids the notify handler being called for each and every emitted notify.
Since we intend to start using EggBindingSet (and therefore GBinding) a lot more heavily, it would be really nice to see this land in GObject.
Review of attachment 303350 [details] [review]: Looks good. An alternative approach would be to have GObject update all the bindings inside dispatch_properties_changed() before emitting the ::notify signal for each and every GParamSpec in the queue, but that can be figured out later.
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.