After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792098 - Binding: bind_property’s @notify func is nullable
Binding: bind_property’s @notify func is nullable
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2018-01-01 16:17 UTC by Daniel Boles
Modified: 2018-01-01 21:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Binding: bind_property’s @notify func is nullable (1.37 KB, patch)
2018-01-01 16:17 UTC, Daniel Boles
committed Details | Review

Description Daniel Boles 2018-01-01 16:17:48 UTC
@notify is for destroying resources used by transformations, but users
may perfectly well not require anything; if so, they need not point to
a no-op function, as we check for NULL later and avoid calling if so.
Comment 1 Daniel Boles 2018-01-01 16:17:52 UTC
Created attachment 366142 [details] [review]
Binding: bind_property’s @notify func is nullable
Comment 2 Philip Withnall 2018-01-01 20:34:30 UTC
Review of attachment 366142 [details] [review]:

Sure.
Comment 3 Daniel Boles 2018-01-01 21:04:21 UTC
Thanks for the fast review!

Attachment 366142 [details] pushed as 54b04f7 - Binding: bind_property’s @notify func is nullable