summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrjohnson <rjohnson@noemail.net>1998-07-27 11:56:37 (GMT)
committerrjohnson <rjohnson@noemail.net>1998-07-27 11:56:37 (GMT)
commit6b56efffed4f4d444396ddcc4f6ffb6c2d367594 (patch)
tree4946b1a1b0e94c0a2dab63aea18041468664c8f0
parenta7b1ef3a7fa85b226e14377e5d93e15bde7c7a45 (diff)
downloadtk-6b56efffed4f4d444396ddcc4f6ffb6c2d367594.zip
tk-6b56efffed4f4d444396ddcc4f6ffb6c2d367594.tar.gz
tk-6b56efffed4f4d444396ddcc4f6ffb6c2d367594.tar.bz2
fixed error - called X func
FossilOrigin-Name: 57a4c8057f96c6b835f06a03a16b5df9aa5a915c
-rw-r--r--generic/tkBitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c
index 9d8dfd0..cf32e96 100644
--- a/generic/tkBitmap.c
+++ b/generic/tkBitmap.c
@@ -193,7 +193,7 @@ Tk_GetBitmap(interp, tkwin, string)
if (string == NULL) {
goto error;
}
- result = XReadBitmapFile(Tk_Display(tkwin),
+ result = TkReadBitmapFile(Tk_Display(tkwin),
RootWindowOfScreen(nameKey.screen), string,
(unsigned int *) &width, (unsigned int *) &height,
&bitmap, &dummy2, &dummy2);
@@ -675,7 +675,7 @@ TkReadBitmapFile(display, d, filename, width_return, height_return,
return BitmapFileInvalid;
}
- *bitmap_return = XCreateBitmapFromData(display, d, data, *width_return,
+ *bitmap_return = TkCreateBitmapFromData(display, d, data, *width_return,
*height_return);
ckfree(data);