[IMAGE-SIG] bug fix for Imaging-0.3a1 and Tk 8.0 final
gregc@cgl.ucsf.EDU
gregc@cgl.ucsf.EDU
Fri, 5 Sep 1997 18:10:37 -0700
Enclosed is the simple modification to Tk/tkImaging.c to make it
work with Tk 8.0 final.
Greg Couch
gregc@cgl.ucsf.edu
-----
===================================================================
RCS file: RCS/tkImaging.c,v
retrieving revision 1.1
diff -c -r1.1 tkImaging.c
*** 1.1 1997/09/05 22:03:24
--- tkImaging.c 1997/09/05 22:03:32
***************
*** 70,76 ****
}
/* get Tcl PhotoImage handle */
! photo = Tk_FindPhoto(argv[1]);
if (photo == NULL) {
Tcl_AppendResult(interp, "destination photo must exist", (char *) NULL);
return TCL_ERROR;
--- 70,76 ----
}
/* get Tcl PhotoImage handle */
! photo = Tk_FindPhoto(interp, argv[1]);
if (photo == NULL) {
Tcl_AppendResult(interp, "destination photo must exist", (char *) NULL);
return TCL_ERROR;
_______________
IMAGE-SIG - SIG on Image Processing with Python
send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
_______________