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 657814 - Drop pygobject_construct() from public API.
Drop pygobject_construct() from public API.
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-31 12:23 UTC by Steve Frécinaux
Modified: 2011-09-01 07:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Drop pygobject_construct() from public API. (7.42 KB, patch)
2011-08-31 12:23 UTC, Steve Frécinaux
committed Details | Review

Description Steve Frécinaux 2011-08-31 12:23:53 UTC
These functions were introduced in 2005 because python objects could not
"just" be instantiated using g_object_new(), but this is not true
anymore since the introduction of new-style constructors. Hence this API
has no reason to be there anymore.

Nowadays, people who want to construct GObjects defined in python should
just use g_object_new().
Comment 1 Steve Frécinaux 2011-08-31 12:23:56 UTC
Created attachment 195290 [details] [review]
Drop pygobject_construct() from public API.
Comment 2 Johan (not receiving bugmail) Dahlin 2011-08-31 12:37:42 UTC
Review of attachment 195290 [details] [review]:

Looks good to me, as we're removing old and deprecated PyGObject APIs.
Comment 3 Steve Frécinaux 2011-09-01 07:30:51 UTC
Attachment 195290 [details] pushed as 81861bc - Drop pygobject_construct() from public API.