summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authora_kovalenko <a_kovalenko>2010-06-22 14:02:31 (GMT)
committera_kovalenko <a_kovalenko>2010-06-22 14:02:31 (GMT)
commiteaa472eda7c92abd87df99c5208082825dbd146d (patch)
treed856dc2e8d1d9e3021184b4669eba49c4902cc91 /generic/tkWindow.c
parentaf5c7cf0c34274560634e544d70228d63ed259d9 (diff)
downloadtk-eaa472eda7c92abd87df99c5208082825dbd146d.zip
tk-eaa472eda7c92abd87df99c5208082825dbd146d.tar.gz
tk-eaa472eda7c92abd87df99c5208082825dbd146d.tar.bz2
[Patch #3019624] fix "place" command segfault on half-dead app main window.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index e2f6f61..a47b080 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.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: tkWindow.c,v 1.112 2010/06/19 16:18:41 jenglish Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.113 2010/06/22 14:02:32 a_kovalenko Exp $
*/
#include "tkInt.h"
@@ -127,7 +127,7 @@ static const TkCmd commands[] = {
{"lower", NULL, Tk_LowerObjCmd, NULL, 1, 1},
{"option", NULL, Tk_OptionObjCmd, NULL, 1, 1},
{"pack", NULL, Tk_PackObjCmd, NULL, 1, 1},
- {"place", NULL, Tk_PlaceObjCmd, NULL, 1, 0},
+ {"place", NULL, Tk_PlaceObjCmd, NULL, 1, 1},
{"raise", NULL, Tk_RaiseObjCmd, NULL, 1, 1},
{"selection", NULL, Tk_SelectionObjCmd, NULL, 0, 1},
{"tk", NULL, NULL, TkInitTkCmd, 1, 1},