diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-05 04:46:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-05 04:46:39 (GMT) |
commit | bffdf13f31774677807ea594324f7a8964a1ee10 (patch) | |
tree | 4b1b6848a2a8f1b3f66d319e784c6d08ddc042ab /win/stubs.c | |
parent | 91ae12c773a03fe4533d19a6d115deb6a4c95351 (diff) | |
parent | e35d614587b25a1a03ededdf2d04bcbfca86be70 (diff) | |
download | tk-bffdf13f31774677807ea594324f7a8964a1ee10.zip tk-bffdf13f31774677807ea594324f7a8964a1ee10.tar.gz tk-bffdf13f31774677807ea594324f7a8964a1ee10.tar.bz2 |
Change XSetDashes signature and many others to match Xorg, needed for Cygwin
Diffstat (limited to 'win/stubs.c')
-rw-r--r-- | win/stubs.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/win/stubs.c b/win/stubs.c index 00030d1..8381145 100644 --- a/win/stubs.c +++ b/win/stubs.c @@ -8,7 +8,7 @@ int _XInitImageFuncPtrs( XImage *image) { - return 0; + return Success; } /* @@ -56,8 +56,8 @@ XCreateGlyphCursor( Font mask_font, unsigned int source_char, unsigned int mask_char, - XColor *foreground_color, - XColor *background_color) + XColor _Xconst *foreground_color, + XColor _Xconst *background_color) { return 1; } @@ -138,7 +138,7 @@ XGetWindowAttributes( Window w, XWindowAttributes *window_attributes_return) { - return 0; + return Success; } Status @@ -157,7 +157,7 @@ XIconifyWindow( Window w, int screen_number) { - return 0; + return Success; } XHostAddress * @@ -177,7 +177,7 @@ XLookupColor( XColor *exact_def_return, XColor *screen_def_return) { - return 0; + return Success; } void @@ -212,7 +212,7 @@ XQueryTree( Window **children_return, unsigned int *nchildren_return) { - return 0; + return Success; } void @@ -245,16 +245,17 @@ XSendEvent( long event_mask, XEvent *event_send) { - return 0; + return Success; } -void +int XSetCommand( Display *display, Window w, char **argv, int argc) { + return Success; } XErrorHandler @@ -349,7 +350,7 @@ XWithdrawWindow( Window w, int screen_number) { - return 0; + return Success; } int @@ -361,7 +362,7 @@ XmbLookupString( KeySym *keysym_return, Status *status_return) { - return 0; + return Success; } int |