diff options
author | Kevin Walzer <kw@codebykevin.com> | 2023-09-27 18:41:30 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2023-09-27 18:41:30 (GMT) |
commit | b5bfb7d6c4f3d23483ddb8f4f4209a6302a9726b (patch) | |
tree | dc80987cc69733d2d118f2527028bd2c3991dda8 /macosx | |
parent | cd76f6f22628ff8a4824a270eb51511d251d537c (diff) | |
download | tk-b5bfb7d6c4f3d23483ddb8f4f4209a6302a9726b.zip tk-b5bfb7d6c4f3d23483ddb8f4f4209a6302a9726b.tar.gz tk-b5bfb7d6c4f3d23483ddb8f4f4209a6302a9726b.tar.bz2 |
Minor cleanup
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXImage.c | 4 | ||||
-rw-r--r-- | macosx/tkMacOSXPrint.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c index 5ba2f8c..ebbe323 100644 --- a/macosx/tkMacOSXImage.c +++ b/macosx/tkMacOSXImage.c @@ -19,10 +19,6 @@ #include "tkColor.h" #include "xbytes.h" -//static CGImageRef CreateCGImageFromPixmap(Drawable pixmap); -//static CGImageRef CreateCGImageFromDrawableRect( Drawable drawable, -// int x, int y, unsigned int width, unsigned int height); - /* Pixel formats * * Tk uses the XImage structure defined in Xlib.h for storing images. The diff --git a/macosx/tkMacOSXPrint.c b/macosx/tkMacOSXPrint.c index 52f7d88..7fdbf98 100644 --- a/macosx/tkMacOSXPrint.c +++ b/macosx/tkMacOSXPrint.c @@ -26,6 +26,8 @@ NSString * fileName = nil; CFStringRef urlFile = NULL; + +/*Forward declaration of functions.*/ int StartPrint(void *clientData, Tcl_Interp * interp, int objc, Tcl_Obj * const objv[]); OSStatus FinishPrint(NSString *file, int buttonValue); |