summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvWind.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-10-10 07:25:23 (GMT)
committerhobbs <hobbs>2002-10-10 07:25:23 (GMT)
commit07bae53a89026d0bc2c8f6635c8586648a52b32e (patch)
tree250461cd6dd036597827c9fd5f9314674f2a8818 /generic/tkCanvWind.c
parentea99cee25a420695da7bd29c5192575f9d34907d (diff)
downloadtk-07bae53a89026d0bc2c8f6635c8586648a52b32e.zip
tk-07bae53a89026d0bc2c8f6635c8586648a52b32e.tar.gz
tk-07bae53a89026d0bc2c8f6635c8586648a52b32e.tar.bz2
* tests/canvPs.test: tests for canvas embedded window ps generation
* generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop. * generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of TkColormapData on Windows. Non-separated data may need correction as well. * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded windows on canvases.
Diffstat (limited to 'generic/tkCanvWind.c')
-rw-r--r--generic/tkCanvWind.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/generic/tkCanvWind.c b/generic/tkCanvWind.c
index c197584..b82efa1 100644
--- a/generic/tkCanvWind.c
+++ b/generic/tkCanvWind.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvWind.c,v 1.7 2002/08/05 04:30:38 dgp Exp $
+ * RCS: @(#) $Id: tkCanvWind.c,v 1.8 2002/10/10 07:25:24 hobbs Exp $
*/
#include <stdio.h>
@@ -845,7 +845,6 @@ CanvasPsWindow(interp, tkwin, canvas, x, y, width, height)
int width, height; /* width/height of window. */
{
char buffer[256];
- TkWindow *winPtr;
XImage *ximage;
int result;
Tcl_DString buffer1, buffer2;
@@ -885,12 +884,6 @@ CanvasPsWindow(interp, tkwin, canvas, x, y, width, height)
(char *) NULL);
Tcl_DStringFree(&buffer1);
- for (winPtr = ((TkWindow *) tkwin)->childList; winPtr != NULL;
- winPtr = winPtr->nextPtr) {
- if (Tk_IsMapped(winPtr)) {
-/* printf("child window: %s\n", winPtr->pathName);*/
- }
- }
return result;
}
Tcl_DStringFree(&buffer1);