summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-15 07:43:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-15 07:43:50 (GMT)
commitf36729c02b87911926bbdee14be380d49a314e94 (patch)
treef2f673ddd603a6b4273bdf897d06f122fb8e3cb0 /win
parentaeac31d2efd613b10132ddc68a5e58982dece91c (diff)
downloadtk-f36729c02b87911926bbdee14be380d49a314e94.zip
tk-f36729c02b87911926bbdee14be380d49a314e94.tar.gz
tk-f36729c02b87911926bbdee14be380d49a314e94.tar.bz2
fix signature of XSynchronize to match X.org
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in2
-rw-r--r--win/stubs.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 89f57bc..35261b5 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -478,7 +478,7 @@ install-binaries: binaries
@echo "Creating package index $(PKG_INDEX)";
@$(RM) $(PKG_INDEX);
@(\
- echo "if {[catch {package present Tcl $(TCLVERSION)$(TCLPATCHL)}]} { return }";\
+ echo "if {[catch {package present Tcl $(TCLVERSION)$(TCLPATCHL)}]} return";\
echo "if {(\$$::tcl_platform(platform) eq \"unix\")";\
echo " && ([info exists ::env(DISPLAY)] || [lsearch -exact \$$::argv -display] > -1)} {";\
echo " package ifneeded Tk $(VERSION)$(PATCH_LEVEL) [list load [file join \$$dir .. .. bin libtk$(VERSION).dll] Tk]";\
diff --git a/win/stubs.c b/win/stubs.c
index 0940752..1cf23ef 100644
--- a/win/stubs.c
+++ b/win/stubs.c
@@ -448,13 +448,13 @@ XNoOp(
return 0;
}
-int
+XAfterFunction
XSynchronize(
Display *display,
Bool bool)
{
display->request++;
- return 0;
+ return NULL;
}
int