diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-24 21:15:46 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-24 21:15:46 (GMT) |
commit | 8e161a5ea9300c955a6ab3fe82a30d3b85866636 (patch) | |
tree | 209933d2accf8feb64d481f548a0029cae195009 /win | |
parent | f54cc82fe6038bc83bbb6c573a811a23be543b83 (diff) | |
parent | 0c2caf017722ea028bff471652c467fd6b406f09 (diff) | |
download | tk-8e161a5ea9300c955a6ab3fe82a30d3b85866636.zip tk-8e161a5ea9300c955a6ab3fe82a30d3b85866636.tar.gz tk-8e161a5ea9300c955a6ab3fe82a30d3b85866636.tar.bz2 |
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'win')
-rw-r--r-- | win/Makefile.in | 6 | ||||
-rw-r--r-- | win/stubs.c | 2 | ||||
-rw-r--r-- | win/tkWinWm.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 5f9fd46..7958e3c 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -705,7 +705,7 @@ $(GENERIC_DIR)/tkStubInit.c: $(GENERIC_DIR)/tk.decls \ @echo "This warning can be safely ignored, do not report as a bug!" genstubs: - $(TCL_EXE) "$(TCL_TOOL_DIR)\genStubs.tcl" \ + $(TCL_EXE) "$(TCL_TOOL_DIR)/genStubs.tcl" \ "$(GENERIC_DIR_NATIVE)" \ - "$(GENERIC_DIR_NATIVE)\tk.decls" \ - "$(GENERIC_DIR_NATIVE)\tkInt.decls" + "$(GENERIC_DIR_NATIVE)/tk.decls" \ + "$(GENERIC_DIR_NATIVE)/tkInt.decls" diff --git a/win/stubs.c b/win/stubs.c index 1138ccb..00030d1 100644 --- a/win/stubs.c +++ b/win/stubs.c @@ -252,7 +252,7 @@ void XSetCommand( Display *display, Window w, - CONST char **argv, + char **argv, int argc) { } diff --git a/win/tkWinWm.c b/win/tkWinWm.c index bb7f746..e3816ca 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -3567,7 +3567,7 @@ WmCommandCmd( wmPtr->cmdArgc = cmdArgc; wmPtr->cmdArgv = cmdArgv; if (!(wmPtr->flags & WM_NEVER_MAPPED)) { - XSetCommand(winPtr->display, winPtr->window, cmdArgv, cmdArgc); + XSetCommand(winPtr->display, winPtr->window, (char **) cmdArgv, cmdArgc); } return TCL_OK; } |