GNOME Bugzilla – Bug 99614
Some wrapped objects have obsolete constructors.
Last modified: 2011-01-16 23:35:15 UTC
Some wrapped classes have obsolete constructors. Attached is a patch that removes them.
Created attachment 12569 [details] [review] patch to remove obsolete constructors
Why aren't these constructors needed anymore? Do we have some other way to create C++ wrappers from C instances?
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.
Thanks. Applied.