summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1998-07-27 11:56:37 (GMT)
committerrjohnson <rjohnson>1998-07-27 11:56:37 (GMT)
commit955147b6bee8c26ae47ce5ef5c54e606a4e9bd97 (patch)
tree4946b1a1b0e94c0a2dab63aea18041468664c8f0 /generic
parenta171a07aa00feb6e0e3888103190e58dc47f9ebb (diff)
downloadtk-955147b6bee8c26ae47ce5ef5c54e606a4e9bd97.zip
tk-955147b6bee8c26ae47ce5ef5c54e606a4e9bd97.tar.gz
tk-955147b6bee8c26ae47ce5ef5c54e606a4e9bd97.tar.bz2
fixed error - called X func
Diffstat (limited to 'generic')
-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);