
26 Nov
2005
26 Nov
'05
6:38 p.m.
I'm noticing, looking over the dialog code, that people don't seem to be paying attention to memory management with gtkmm.
Now, it may be that folks aren't bothering, simply because the dialogs never get freed, but I'd still rather people do it properly.
Here is an explanation of how memory management is supposed to work in gtkmm. In most of the cases I've seen, the remedy is as simple as adding manage() around the creation of a widget.
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch18.html
Fingers off the about dialog, though, I've got that one.
-mental