diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-03-28 15:22:05 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-03-28 15:22:05 (GMT) |
commit | ff473beef1e95a6cfbd2c11ea9407b67d4d443ab (patch) | |
tree | 5704942faccdc7d14eeb887a50a50447308baf57 /generic/tkDecls.h | |
parent | 6b95fe79a09d8786a2b2e70d95da5834bbf84e8b (diff) | |
download | tk-ff473beef1e95a6cfbd2c11ea9407b67d4d443ab.zip tk-ff473beef1e95a6cfbd2c11ea9407b67d4d443ab.tar.gz tk-ff473beef1e95a6cfbd2c11ea9407b67d4d443ab.tar.bz2 |
Remove dead code. During 8.6 alpha/beta, Tk_DefineBitmap/Tk_GetBitmapFromData moved to stub entry 274/275
due to a signature change, but later that turned out not be necessary at all. The stub entries were kept
in order not to lose binary compatibility for extensions that were compiled against beta 8.6 headers. Now that
Tk 8.6 is final, this makes no sense any more.
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r-- | generic/tkDecls.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h index 4de4c23..9f76a49 100644 --- a/generic/tkDecls.h +++ b/generic/tkDecls.h @@ -860,10 +860,6 @@ EXTERN void Tk_CreateOldImageType(const Tk_ImageType *typePtr); /* 273 */ EXTERN void Tk_CreateOldPhotoImageFormat( const Tk_PhotoImageFormat *formatPtr); -/* 274 */ -EXTERN void reserved274(void); -/* 275 */ -EXTERN void reserved275(void); typedef struct { const struct TkPlatStubs *tkPlatStubs; @@ -1150,8 +1146,6 @@ typedef struct TkStubs { Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */ void (*tk_CreateOldImageType) (const Tk_ImageType *typePtr); /* 272 */ void (*tk_CreateOldPhotoImageFormat) (const Tk_PhotoImageFormat *formatPtr); /* 273 */ - void (*reserved274) (void); /* 274 */ - void (*reserved275) (void); /* 275 */ } TkStubs; #ifdef __cplusplus @@ -1714,10 +1708,6 @@ extern const TkStubs *tkStubsPtr; (tkStubsPtr->tk_CreateOldImageType) /* 272 */ #define Tk_CreateOldPhotoImageFormat \ (tkStubsPtr->tk_CreateOldPhotoImageFormat) /* 273 */ -#define reserved274 \ - (tkStubsPtr->reserved274) /* 274 */ -#define reserved275 \ - (tkStubsPtr->reserved275) /* 275 */ #endif /* defined(USE_TK_STUBS) */ |