diff options
author | welch <welch> | 1998-08-04 15:29:03 (GMT) |
---|---|---|
committer | welch <welch> | 1998-08-04 15:29:03 (GMT) |
commit | cf467299e1485a12ba3056550328631d5cfeee51 (patch) | |
tree | c7b3e26434bbfdaff2c85b4216fbccc33cd5846f /generic/tkImgBmap.c | |
parent | 4120d6152af7c96e104188f6bce915bd7164410c (diff) | |
download | tk-cf467299e1485a12ba3056550328631d5cfeee51.zip tk-cf467299e1485a12ba3056550328631d5cfeee51.tar.gz tk-cf467299e1485a12ba3056550328631d5cfeee51.tar.bz2 |
Undid conversionto TkCreateBitmapFromData
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r-- | generic/tkImgBmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c index 03ebd1d..fd14424 100644 --- a/generic/tkImgBmap.c +++ b/generic/tkImgBmap.c @@ -31,10 +31,10 @@ typedef struct BitmapMaster { * deleted. */ int width, height; /* Dimensions of image. */ char *data; /* Data comprising bitmap (suitable for - * input to TkCreateBitmapFromData). May + * input to XCreateBitmapFromData). May * be NULL if no data. Malloc'ed. */ char *maskData; /* Data for bitmap's mask (suitable for - * input to TkCreateBitmapFromData). + * input to XCreateBitmapFromData). * Malloc'ed. */ Tk_Uid fgUid; /* Value of -foreground option (malloc'ed). */ Tk_Uid bgUid; /* Value of -background option (malloc'ed). */ @@ -375,7 +375,7 @@ ImgBmapConfigureInstance(instancePtr) instancePtr->bitmap = None; } if (masterPtr->data != NULL) { - instancePtr->bitmap = TkCreateBitmapFromData( + instancePtr->bitmap = XCreateBitmapFromData( Tk_Display(instancePtr->tkwin), RootWindowOfScreen(Tk_Screen(instancePtr->tkwin)), masterPtr->data, (unsigned) masterPtr->width, @@ -387,7 +387,7 @@ ImgBmapConfigureInstance(instancePtr) instancePtr->mask = None; } if (masterPtr->maskData != NULL) { - instancePtr->mask = TkCreateBitmapFromData( + instancePtr->mask = XCreateBitmapFromData( Tk_Display(instancePtr->tkwin), RootWindowOfScreen(Tk_Screen(instancePtr->tkwin)), masterPtr->maskData, (unsigned) masterPtr->width, |