summaryrefslogtreecommitdiffstats
path: root/generic/tkImgGIF.c
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2020-06-24 15:23:24 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2020-06-24 15:23:24 (GMT)
commit30bbcbc89a0aa5de07fd8a097939d9b31037d8ef (patch)
treecd90ac97e2181f564ee04e8a1aec93c4ead52307 /generic/tkImgGIF.c
parent70f472452d20f28db1f411b4ff0d80fc99fc2660 (diff)
downloadtk-30bbcbc89a0aa5de07fd8a097939d9b31037d8ef.zip
tk-30bbcbc89a0aa5de07fd8a097939d9b31037d8ef.tar.gz
tk-30bbcbc89a0aa5de07fd8a097939d9b31037d8ef.tar.bz2
TIP529 image metadata: remove close file flag returned by format driver file match function
Diffstat (limited to 'generic/tkImgGIF.c')
-rw-r--r--generic/tkImgGIF.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 06a44ac..73cb4ce 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -122,7 +122,7 @@ static int FileMatchGIF(Tcl_Interp *interp, Tcl_Channel chan,
const char *fileName, Tcl_Obj *format,
Tcl_Obj *metadataInObj, int *widthPtr,
int *heightPtr, Tcl_Obj *metadataOutObj,
- int *closeChannelPtr, Tcl_DString *driverInternal);
+ Tcl_DString *driverInternal);
static int FileReadGIF(Tcl_Interp *interp, Tcl_Channel chan,
const char *fileName, Tcl_Obj *format,
Tcl_Obj *metadataInObj, Tk_PhotoHandle imageHandle,
@@ -369,7 +369,6 @@ FileMatchGIF(
/* The dimensions of the image are returned
* here if the file is a valid raw GIF file. */
Tcl_Obj *metadataOutObj, /* metadata return dict, may be NULL */
- int *closeChannelPtr, /* Return if the channel may be closed */
Tcl_DString *driverInternal)/* memory passed to FileReadGIF */
{
GIFImageConfig gifConf;