diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-07-15 15:01:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-07-15 15:01:01 (GMT) |
commit | 1ceae426adc5b03ca14c112531356d7d936865ec (patch) | |
tree | e7fda7cc9228a3f78546d89d0b0bc57000582d25 | |
parent | 5f4df2650c00f3dcc60da4204242e9b659e756f3 (diff) | |
parent | 4f75be674fee3a89f9c8d99df95c2a9b668b8937 (diff) | |
download | tk-1ceae426adc5b03ca14c112531356d7d936865ec.zip tk-1ceae426adc5b03ca14c112531356d7d936865ec.tar.gz tk-1ceae426adc5b03ca14c112531356d7d936865ec.tar.bz2 |
Fix signature of TkMacOSXSetDrawingEnabled(), re-generate tkIntPlatDecls.h and tkStubInit.c
-rw-r--r-- | generic/tkInt.decls | 2 | ||||
-rw-r--r-- | generic/tkIntPlatDecls.h | 3 | ||||
-rw-r--r-- | generic/tkStubInit.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index 8924d68..586b407 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -1018,7 +1018,7 @@ declare 51 aqua { void TkGenWMDestroyEvent(Tk_Window tkwin) } declare 52 aqua { - TkMacOSXSetDrawingEnabled(TkWindow *winPtr, int flag); + void TkMacOSXSetDrawingEnabled(TkWindow *winPtr, int flag) } # removed duplicate from tkPlat table (tk.decls) diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index 3a4bdac..e48e803 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -622,7 +622,8 @@ extern const TkIntPlatStubs *tkIntPlatStubsPtr; (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 50 */ #define TkGenWMDestroyEvent \ (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 51 */ -/* Slot 52 is reserved */ +#define TkMacOSXSetDrawingEnabled \ + (tkIntPlatStubsPtr->tkMacOSXSetDrawingEnabled) /* 52 */ #define TkpGetMS \ (tkIntPlatStubsPtr->tkpGetMS) /* 53 */ #define TkMacOSXDrawable \ diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index f621d82..f08d7f4 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -556,7 +556,7 @@ static const TkIntPlatStubs tkIntPlatStubs = { TkGetTransientMaster, /* 49 */ TkGenerateButtonEvent, /* 50 */ TkGenWMDestroyEvent, /* 51 */ - 0, /* 52 */ + TkMacOSXSetDrawingEnabled, /* 52 */ TkpGetMS, /* 53 */ TkMacOSXDrawable, /* 54 */ TkpScanWindowId, /* 55 */ |