diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-15 07:43:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-15 07:43:50 (GMT) |
commit | c43656f1112d65797a75c26595a0c52ebc7af4eb (patch) | |
tree | f2f673ddd603a6b4273bdf897d06f122fb8e3cb0 /win | |
parent | bccaebbe6783ffb8372daeb83376a47c53968036 (diff) | |
download | tk-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.in | 2 | ||||
-rw-r--r-- | win/stubs.c | 4 |
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 |