diff options
-rw-r--r-- | generic/tkBitmap.c | 4 |
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); |