summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixCursor.c
diff options
context:
space:
mode:
authorwelch <welch>1998-08-04 15:29:52 (GMT)
committerwelch <welch>1998-08-04 15:29:52 (GMT)
commit2dc2af64d677a5abd3adc26f3a0bec6d7c281a1a (patch)
treeffa9a3a976d660a51dc2cdd4ce2659f4b9aee879 /unix/tkUnixCursor.c
parentcf467299e1485a12ba3056550328631d5cfeee51 (diff)
downloadtk-2dc2af64d677a5abd3adc26f3a0bec6d7c281a1a.zip
tk-2dc2af64d677a5abd3adc26f3a0bec6d7c281a1a.tar.gz
tk-2dc2af64d677a5abd3adc26f3a0bec6d7c281a1a.tar.bz2
Fixed old calls to XReadBitmapFile
Diffstat (limited to 'unix/tkUnixCursor.c')
-rw-r--r--unix/tkUnixCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixCursor.c b/unix/tkUnixCursor.c
index da75ac6..c898ad1 100644
--- a/unix/tkUnixCursor.c
+++ b/unix/tkUnixCursor.c
@@ -250,7 +250,7 @@ TkGetCursorByName(interp, tkwin, string)
if ((argc != 2) && (argc != 4)) {
goto badString;
}
- if (XReadBitmapFile(display,
+ if (TkReadBitmapFile(display,
RootWindowOfScreen(Tk_Screen(tkwin)), &argv[0][1],
(unsigned int *) &width, (unsigned int *) &height,
&source, &xHot, &yHot) != BitmapSuccess) {
@@ -273,7 +273,7 @@ TkGetCursorByName(interp, tkwin, string)
cursor = XCreatePixmapCursor(display, source, source,
&fg, &fg, (unsigned) xHot, (unsigned) yHot);
} else {
- if (XReadBitmapFile(display,
+ if (TkReadBitmapFile(display,
RootWindowOfScreen(Tk_Screen(tkwin)), argv[1],
(unsigned int *) &maskWidth, (unsigned int *) &maskHeight,
&mask, &dummy1, &dummy2) != BitmapSuccess) {