On Mon, 2010-01-11 at 22:29 +0100, Francesco Pretto wrote: > 2010/1/11 michi7x7 <[email protected]>: > > Hi, > > > > it's not needed. > > > > > Thanks. While the answer was pretty obvious, I am often of the opinion > that examples should be as simple, clear and clean as possible. So if > the author is listening, please consider removing this and other (if > any) unneeded statements from gtkmm examples. :)
I think I generally add them because I guess that many readers may be unfamiliar with C++ rather than just unfamiliar with gtkmm. So I think they might need the extra hints that they should generally write clean-up code in destructors. Empty destructors are fairly common in examples, so I don't they do much harm. I might change my mind though. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
