diff options
author | pspjuth <peter.spjuth@gmail.com> | 2001-05-28 16:56:02 (GMT) |
---|---|---|
committer | pspjuth <peter.spjuth@gmail.com> | 2001-05-28 16:56:02 (GMT) |
commit | 06d05d92f1cda1439dd42324387e00923e4070e6 (patch) | |
tree | 72ba38f9fdbf75090cbbb9845a10c5c2b4e0d4dc /generic/tkWindow.c | |
parent | 7a0d64115868997a8e31574dd0faf640335e2169 (diff) | |
download | tk-06d05d92f1cda1439dd42324387e00923e4070e6.zip tk-06d05d92f1cda1439dd42324387e00923e4070e6.tar.gz tk-06d05d92f1cda1439dd42324387e00923e4070e6.tar.bz2 |
Upgraded frame to use the newer TK_OPTION
style when processing configuration options. Some cleanup of
bad comments and bad code. [part of patch #420861]
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index e6fccf9..6a33f44 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.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: tkWindow.c,v 1.29 2000/11/22 01:49:38 ericm Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.30 2001/05/28 16:56:02 pspjuth Exp $ */ #include "tkPort.h" @@ -137,7 +137,7 @@ static TkCmd commands[] = { {"canvas", NULL, Tk_CanvasObjCmd, 1, 1}, {"checkbutton", NULL, Tk_CheckbuttonObjCmd, 1, 0}, {"entry", NULL, Tk_EntryObjCmd, 1, 0}, - {"frame", NULL, Tk_FrameObjCmd, 1, 1}, + {"frame", NULL, Tk_FrameObjCmd, 1, 0}, {"label", NULL, Tk_LabelObjCmd, 1, 0}, {"listbox", NULL, Tk_ListboxObjCmd, 1, 0}, {"menubutton", NULL, Tk_MenubuttonObjCmd, 1, 0}, @@ -147,7 +147,7 @@ static TkCmd commands[] = { {"scrollbar", Tk_ScrollbarCmd, NULL, 1, 1}, {"spinbox", NULL, Tk_SpinboxObjCmd, 1, 0}, {"text", Tk_TextCmd, NULL, 1, 1}, - {"toplevel", NULL, Tk_ToplevelObjCmd, 0, 1}, + {"toplevel", NULL, Tk_ToplevelObjCmd, 0, 0}, /* * Misc. |