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 633517 - ParamSpec "override" funcs
ParamSpec "override" funcs
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Glib
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2010-10-29 23:57 UTC by Kevin Ryde
Modified: 2010-10-30 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch and test case (3.46 KB, patch)
2010-10-29 23:57 UTC, Kevin Ryde
committed Details | Review

Description Kevin Ryde 2010-10-29 23:57:36 UTC
Created attachment 173534 [details] [review]
patch and test case

Wrappers for the g_param_spec_override() and g_param_spec_get_redirect_target().

I think the override can be used just by adding it to your "properties" list, without g_object_class_override_property() as such.

The g_param_spec_get_redirect_target() is in any case a getter so can be used on any pspec you might strike.
Comment 1 Torsten Schoenfeld 2010-10-30 22:38:28 UTC
Looks good, committed.  Thanks.

If you're looking for more missing functionality in this area, I can offer
<https://bugzilla.gnome.org/show_bug.cgi?id=570792> and
<https://bugzilla.gnome.org/show_bug.cgi?id=570793>.