summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-07-15 15:01:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-07-15 15:01:01 (GMT)
commit1ceae426adc5b03ca14c112531356d7d936865ec (patch)
treee7fda7cc9228a3f78546d89d0b0bc57000582d25 /generic
parent5f4df2650c00f3dcc60da4204242e9b659e756f3 (diff)
parent4f75be674fee3a89f9c8d99df95c2a9b668b8937 (diff)
downloadtk-1ceae426adc5b03ca14c112531356d7d936865ec.zip
tk-1ceae426adc5b03ca14c112531356d7d936865ec.tar.gz
tk-1ceae426adc5b03ca14c112531356d7d936865ec.tar.bz2
Fix signature of TkMacOSXSetDrawingEnabled(), re-generate tkIntPlatDecls.h and tkStubInit.c
Diffstat (limited to 'generic')
-rw-r--r--generic/tkInt.decls2
-rw-r--r--generic/tkIntPlatDecls.h3
-rw-r--r--generic/tkStubInit.c2
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 */