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 304353 - Allow multiple calls to pyg_register_class_init
Allow multiple calls to pyg_register_class_init
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gobject
2.9.0
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks: 304361
 
 
Reported: 2005-05-16 13:39 UTC by Benjamin Otte (Company)
Modified: 2006-01-09 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.24 KB, patch)
2005-05-16 13:41 UTC, Benjamin Otte (Company)
none Details | Review

Description Benjamin Otte (Company) 2005-05-16 13:39:21 UTC
Since the (new in 2.6) vfunc wrapper uses pyg_register_class_init, it's
impossible to register ones own functions. This patch makes it possible to call
pyg_register_class_init any amount of times.
Comment 1 Benjamin Otte (Company) 2005-05-16 13:41:17 UTC
Created attachment 46486 [details] [review]
proposed patch
Comment 2 Gustavo Carneiro 2005-05-16 14:03:38 UTC
What do you mean "...it's impossible to register ones own functions..."? :)

Patch looks good to me, except perhaps a few style inconsistencies with most of
pygtk code (we don't use spaces around ()).
Comment 3 Johan (not receiving bugmail) Dahlin 2005-05-17 17:58:43 UTC
Fixed in CVS HEAD