diff options
author | joye <joye> | 2013-09-05 19:02:37 (GMT) |
---|---|---|
committer | joye <joye> | 2013-09-05 19:02:37 (GMT) |
commit | c6e0e8f787459f8727b4140a7341dcc5cd6ea1c3 (patch) | |
tree | 3ac07c44792688be100153955f9c086116a2ede0 /src/bltGrMisc.C | |
parent | 5cfdc8fc60e6e2729f7ec6752916edc06b408984 (diff) | |
download | blt-c6e0e8f787459f8727b4140a7341dcc5cd6ea1c3.zip blt-c6e0e8f787459f8727b4140a7341dcc5cd6ea1c3.tar.gz blt-c6e0e8f787459f8727b4140a7341dcc5cd6ea1c3.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrMisc.C')
-rw-r--r-- | src/bltGrMisc.C | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bltGrMisc.C b/src/bltGrMisc.C index 47fa77a..c8b5c21 100644 --- a/src/bltGrMisc.C +++ b/src/bltGrMisc.C @@ -933,11 +933,7 @@ Blt_GetPrivateGCFromDrawable( { GC newGC; -#ifdef WIN32 - newGC = Blt_EmulateXCreateGC(display, drawable, gcMask, valuePtr); -#else newGC = XCreateGC(display, drawable, gcMask, valuePtr); -#endif return newGC; } @@ -1000,14 +996,12 @@ Blt_FreePrivateGC(Display *display, GC gc) XFreeGC(display, gc); } -#ifndef WIN32 void Blt_SetDashes(Display *display, GC gc, Blt_Dashes *dashesPtr) { XSetDashes(display, gc, dashesPtr->offset, (const char *)dashesPtr->values, (int)strlen((char *)dashesPtr->values)); } -#endif void Blt_ScreenDPI(Tk_Window tkwin, unsigned int *xPtr, unsigned int *yPtr) @@ -1172,14 +1166,10 @@ Blt_MaxRequestSize(Display *display, size_t elemSize) if (maxSizeBytes == 0L) { long size; -#ifndef WIN32 size = XExtendedMaxRequestSize(display); if (size == 0) { size = XMaxRequestSize(display); } -#else - size = XMaxRequestSize(display); -#endif size -= (4 * elemSize); /* maxSizeBytes = (size * 4); */ maxSizeBytes = size; |