summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-09-03 11:48:56 (GMT)
committervincentdarley <vincentdarley>2002-09-03 11:48:56 (GMT)
commit0c3301da04a0a41d0b9de25c18bda6633fe03a47 (patch)
tree56e69b5fa6ffd5bc8c1114718743901d56d9da19
parentaca13773fa1e0ad26b00368b408857104806bad0 (diff)
downloadtk-0c3301da04a0a41d0b9de25c18bda6633fe03a47.zip
tk-0c3301da04a0a41d0b9de25c18bda6633fe03a47.tar.gz
tk-0c3301da04a0a41d0b9de25c18bda6633fe03a47.tar.bz2
wm attributes macosx fix
-rw-r--r--ChangeLog4
-rw-r--r--macosx/tkMacOSXWm.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c55351..ea4d28c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-03 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * macosx/tkMacOSXWm.c: fix to 'wm attributes' error-handling bug.
+
2002-09-03 Don Porter <dgp@users.sf.net>
* changes: Updated for 8.4.0 release
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 094ef30..14f93fb 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXWm.c,v 1.2 2002/08/31 06:12:30 das Exp $
+ * RCS: @(#) $Id: tkMacOSXWm.c,v 1.3 2002/09/03 11:48:56 vincentdarley Exp $
*/
#include <Carbon/Carbon.h>
@@ -758,10 +758,6 @@ Tcl_Obj *CONST objv[]; /* Argument objects. */
int i;
WindowRef macWindow;
- if (objc != 3) {
- Tcl_WrongNumArgs(interp, 2, objv, "window");
- return TCL_ERROR;
- }
if (objc < 3) {
configArgs:
Tcl_AppendResult(interp, "wrong # arguments: must be \"",