From: Jan N. <nij...@us...> - 2008-10-30 21:42:17
|
Update of /cvsroot/tktoolkit/tk In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9348 Modified Files: ChangeLog Log Message: [Bug 2190619] Warnings due to Tk_SmoothMethod name constness change. Although dkf's solution (simply adding a type cast) is correct as well, changing the return value (as das suggested) has the advantage that all Tk_OptionPrintProc implementations don't need a type cast any more in its code. This makes all those functions robust against the -Wwrite-strings warning option. Further on, the customPtr field of Tk_ConfigSpec can be a constant, without any danger of source incompatibility. |