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 703456 - Cannot register a property that is an interface
Cannot register a property that is an interface
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gobject
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-02 12:20 UTC by Garrett Regier
Modified: 2013-07-02 23:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow registering a property that is an interface (1.02 KB, patch)
2013-07-02 12:20 UTC, Garrett Regier
none Details | Review
Bug 703456 - Allow creating an interface property v2 (3.80 KB, patch)
2013-07-02 13:07 UTC, Garrett Regier
committed Details | Review

Description Garrett Regier 2013-07-02 12:20:04 UTC
Created attachment 248214 [details] [review]
Allow registering a property that is an interface

GObject.property(type=Gio.File) raises an exception: TypeError: Unsupported type: <GType GFile (165426512)>

I can confirm that the attached patch fixes the problem.
Comment 1 Garrett Regier 2013-07-02 13:07:49 UTC
Created attachment 248218 [details] [review]
Bug 703456 - Allow creating an interface property v2

Now with test case.
Comment 2 Simon Feltman 2013-07-02 23:29:09 UTC
Nice work, Thanks! Pushed with new changelog message per:
https://wiki.gnome.org/Git/CommitMessages