Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Missed 2 spots in previous commit (only relevant for test-suite) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core-8-6-branch |
Files: | files | file ages | folders |
SHA3-256: |
36caa0cbfbc2cd5d93de0d36790ede65 |
User & Date: | jan.nijtmans 2019-01-10 11:28:33 |
Context
2019-01-13
| ||
14:48 | Merge 8.5 check-in: 1993e127 user: jan.nijtmans tags: core-8-6-branch | |
2019-01-11
| ||
22:09 | merge core-8-6-branch. check-in: 2eedf1d4 user: culler tags: mistake | |
2019-01-10
| ||
11:39 | Merge 8.6 check-in: 60be4026 user: jan.nijtmans tags: bug6e8afe516d, tip-532 | |
11:28 | Missed 2 spots in previous commit (only relevant for test-suite) check-in: 36caa0cb user: jan.nijtmans tags: core-8-6-branch | |
08:10 | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing. check-in: c707c501 user: jan.nijtmans tags: core-8-6-branch | |
Changes
Changes to generic/tkSquare.c.
︙ | ︙ | |||
331 332 333 334 335 336 337 | */ bgBorder = Tk_Get3DBorderFromObj(squarePtr->tkwin, squarePtr->bgBorderPtr); Tk_SetWindowBackground(squarePtr->tkwin, Tk_3DBorderColor(bgBorder)->pixel); Tcl_GetBooleanFromObj(NULL, squarePtr->doubleBufferPtr, &doubleBuffer); | | | 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | */ bgBorder = Tk_Get3DBorderFromObj(squarePtr->tkwin, squarePtr->bgBorderPtr); Tk_SetWindowBackground(squarePtr->tkwin, Tk_3DBorderColor(bgBorder)->pixel); Tcl_GetBooleanFromObj(NULL, squarePtr->doubleBufferPtr, &doubleBuffer); if ((squarePtr->gc == NULL) && (doubleBuffer)) { XGCValues gcValues; gcValues.function = GXcopy; gcValues.graphics_exposures = False; squarePtr->gc = Tk_GetGC(squarePtr->tkwin, GCFunction|GCGraphicsExposures, &gcValues); } |
︙ | ︙ | |||
396 397 398 399 400 401 402 | Tcl_DoWhenIdle(SquareDisplay, squarePtr); squarePtr->updatePending = 1; } } else if (eventPtr->type == DestroyNotify) { if (squarePtr->tkwin != NULL) { Tk_FreeConfigOptions((char *) squarePtr, squarePtr->optionTable, squarePtr->tkwin); | | | 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 | Tcl_DoWhenIdle(SquareDisplay, squarePtr); squarePtr->updatePending = 1; } } else if (eventPtr->type == DestroyNotify) { if (squarePtr->tkwin != NULL) { Tk_FreeConfigOptions((char *) squarePtr, squarePtr->optionTable, squarePtr->tkwin); if (squarePtr->gc != NULL) { Tk_FreeGC(squarePtr->display, squarePtr->gc); } squarePtr->tkwin = NULL; Tcl_DeleteCommandFromToken(squarePtr->interp, squarePtr->widgetCmd); } if (squarePtr->updatePending) { |
︙ | ︙ |