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 676169 - GObject.bind_property: Support transform functions
GObject.bind_property: Support transform functions
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-16 14:35 UTC by Bastian Winkler
Modified: 2012-06-01 08:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GObject.bind_property: Support transform functions (9.06 KB, patch)
2012-05-16 14:35 UTC, Bastian Winkler
none Details | Review
GObject.bind_property: Support transform functions (9.17 KB, patch)
2012-05-16 14:41 UTC, Bastian Winkler
none Details | Review

Description Bastian Winkler 2012-05-16 14:35:46 UTC
Add support for optional transformation functions to
pygobject_bind_property(). It uses a custom PyGClosure to marshal the
return value correctly.
Comment 1 Bastian Winkler 2012-05-16 14:35:48 UTC
Created attachment 214182 [details] [review]
GObject.bind_property: Support transform functions
Comment 2 Bastian Winkler 2012-05-16 14:41:05 UTC
Created attachment 214183 [details] [review]
GObject.bind_property: Support transform functions

Add support for optional transformation functions to
pygobject_bind_property(). It uses a custom PyGClosure to marshal the
return value correctly.
Comment 3 Martin Pitt 2012-06-01 08:42:59 UTC
Thank you, very nice! Applied.