diff options
author | das <das> | 2008-09-02 16:14:18 (GMT) |
---|---|---|
committer | das <das> | 2008-09-02 16:14:18 (GMT) |
commit | a2b54a1b966fd289ff2d0aed233afcbd9e6cb993 (patch) | |
tree | 4b5f1848e9ad5b9c5a9e0fb2e305ab79d1f7f780 | |
parent | c5f2cdbaee955094587bb6fd825169fde60f1c57 (diff) | |
download | tk-a2b54a1b966fd289ff2d0aed233afcbd9e6cb993.zip tk-a2b54a1b966fd289ff2d0aed233afcbd9e6cb993.tar.gz tk-a2b54a1b966fd289ff2d0aed233afcbd9e6cb993.tar.bz2 |
comments, whitespace
-rw-r--r-- | macosx/tkMacOSXDialog.c | 3 | ||||
-rw-r--r-- | macosx/tkMacOSXHLEvents.c | 10 | ||||
-rw-r--r-- | macosx/tkMacOSXKeyEvent.c | 3 | ||||
-rw-r--r-- | macosx/tkMacOSXPrivate.h | 4 |
4 files changed, 13 insertions, 7 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index a8be2bf..929d3e4 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.36.2.2 2008/05/03 21:33:00 das Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.36.2.3 2008/09/02 16:14:18 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -38,6 +38,7 @@ * The following structures are used in the GetFileName() function. They store * information about the file dialog and the file filters. */ + typedef struct _OpenFileData { FileFilterList fl; /* List of file filters. */ SInt16 curType; /* The filetype currently being listed. */ diff --git a/macosx/tkMacOSXHLEvents.c b/macosx/tkMacOSXHLEvents.c index 8054d7e..3705d55 100644 --- a/macosx/tkMacOSXHLEvents.c +++ b/macosx/tkMacOSXHLEvents.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.15.2.1 2008/07/22 17:00:49 das Exp $ + * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.15.2.2 2008/09/02 16:14:18 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -329,7 +329,7 @@ OdocHandler( } /* - * If we get any errors wil retrieving our parameters we just return with + * If we get any errors while retrieving our parameters we just return with * no error. */ @@ -418,7 +418,7 @@ PrintHandler( } /* - * If we get any errors wil retrieving our parameters we just return with + * If we get any errors while retrieving our parameters we just return with * no error. */ @@ -447,6 +447,10 @@ PrintHandler( } } + /* + * Now handle the event by evaluating a script. + */ + if (Tcl_EvalEx(interp, Tcl_DStringValue(&command), Tcl_DStringLength(&command), TCL_EVAL_GLOBAL) != TCL_OK) { Tcl_BackgroundError(interp); diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c index f508d67..35eef36 100644 --- a/macosx/tkMacOSXKeyEvent.c +++ b/macosx/tkMacOSXKeyEvent.c @@ -54,7 +54,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.24 2007/12/13 15:27:10 dgp Exp $ + * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.24.2.1 2008/09/02 16:14:18 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -1076,6 +1076,7 @@ XUngrabKeyboard( * Side effects: * None. * + *---------------------------------------------------------------------- */ Tk_Window diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h index 544621c..e62f90e 100644 --- a/macosx/tkMacOSXPrivate.h +++ b/macosx/tkMacOSXPrivate.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXPrivate.h,v 1.6.2.1 2008/06/19 00:13:10 das Exp $ + * RCS: @(#) $Id: tkMacOSXPrivate.h,v 1.6.2.2 2008/09/02 16:14:18 das Exp $ */ #ifndef _TKMACPRIV @@ -64,7 +64,7 @@ #else #define kCGBitmapByteOrder32Host (2 << 12) #endif - #endif +#endif /* Define constants only available on Mac OS X 10.5 or later */ #if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 #define kWindowUnifiedTitleAndToolbarAttribute (1L << 7) |