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)
commitc43656f1112d65797a75c26595a0c52ebc7af4eb (patch)
treef2f673ddd603a6b4273bdf897d06f122fb8e3cb0 /win
parentbccaebbe6783ffb8372daeb83376a47c53968036 (diff)
downloadtk-c43656f1112d65797a75c26595a0c52ebc7af4eb.zip
tk-c43656f1112d65797a75c26595a0c52ebc7af4eb.tar.gz
tk-c43656f1112d65797a75c26595a0c52ebc7af4eb.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