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 99614 - Some wrapped objects have obsolete constructors.
Some wrapped objects have obsolete constructors.
Status: RESOLVED FIXED
Product: gconfmm
Classification: Other
Component: general
git master
Other other
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-11-26 14:12 UTC by Tassos Bassoukos
Modified: 2011-01-16 23:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to remove obsolete constructors (3.14 KB, patch)
2002-11-26 14:30 UTC, Tassos Bassoukos
none Details | Review

Description Tassos Bassoukos 2002-11-26 14:12:03 UTC
Some wrapped classes have obsolete constructors. Attached is a patch that
removes them.
Comment 1 Tassos Bassoukos 2002-11-26 14:30:22 UTC
Created attachment 12569 [details] [review]
patch to remove obsolete constructors
Comment 2 Murray Cumming 2002-11-26 16:20:15 UTC
Why aren't these constructors needed anymore? Do we have some other
way to create C++ wrappers from C instances?
Comment 3 Tassos Bassoukos 2002-11-26 18:58:15 UTC
These constructors aren't needed anymore because gtkmmproc generates
default ones for us anyway. Further, they will now cause memory leaks
because they copy their C-type argument unconditionally, which is the
Wrong Thing to do.

I introduced them during the patch split, and they are no more needed.
Comment 4 Murray Cumming 2002-11-26 20:01:45 UTC
Thanks. Applied.