https://bugzilla.gnome.org/show_bug.cgi?id=634350
gnome-perl | Glib | unspecified
Summary: Object properties pspec/get/set form vs subclass
Classification: Bindings
Product: gnome-perl
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Glib
AssignedTo: gtk...@li...
ReportedBy: us...@zi...
QAContact: gtk...@li...
GNOME target: ---
GNOME version: ---
Created an attachment (id=174088)
View: https://bugzilla.gnome.org/attachment.cgi?id=174088
Review: https://bugzilla.gnome.org/review?bug=634350&attachment=174088
patch and test cases
If a class adds a property with
properties => [ { pspec=>, get=>, set=> } ]
then those get/set funcs are not called from a further subclass of that class.
I think the lookup for those get/set funcs should be on the pspec->owner_type,
not the instance type. The instance type is the subclass, whereas the owner
type is one which defined the property and where the get/set are stored -- per
attachment.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
|