diff options
author | jenglish <jenglish@flightlab.com> | 2010-01-31 22:50:55 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2010-01-31 22:50:55 (GMT) |
commit | b8c9d13aa05cbfcbbe02e7c35a467b6043128989 (patch) | |
tree | b05e13d2fe6e468becf1ed719e0768c481dbe97d /generic/ttk/ttkFrame.c | |
parent | 9eb9490bdd0af957334eed8ed99c60c0223d9536 (diff) | |
download | tk-b8c9d13aa05cbfcbbe02e7c35a467b6043128989.zip tk-b8c9d13aa05cbfcbbe02e7c35a467b6043128989.tar.gz tk-b8c9d13aa05cbfcbbe02e7c35a467b6043128989.tar.bz2 |
Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.
Merge now-redundant ensemble dispatch code.
Diffstat (limited to 'generic/ttk/ttkFrame.c')
-rw-r--r-- | generic/ttk/ttkFrame.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c index f7edfe3..cf22cda 100644 --- a/generic/ttk/ttkFrame.c +++ b/generic/ttk/ttkFrame.c @@ -1,4 +1,4 @@ -/* $Id: ttkFrame.c,v 1.14 2009/02/06 08:12:07 das Exp $ +/* $Id: ttkFrame.c,v 1.15 2010/01/31 22:50:55 jenglish Exp $ * Copyright (c) 2004, Joe English * * ttk::frame and ttk::labelframe widgets. @@ -47,13 +47,13 @@ static Tk_OptionSpec FrameOptionSpecs[] = { WIDGET_INHERIT_OPTIONS(ttkCoreOptionSpecs) }; -static WidgetCommandSpec FrameCommands[] = { - { "configure", TtkWidgetConfigureCommand }, - { "cget", TtkWidgetCgetCommand }, - { "instate", TtkWidgetInstateCommand }, - { "state", TtkWidgetStateCommand }, - { "identify", TtkWidgetIdentifyCommand }, - { NULL, NULL } +static const Ttk_Ensemble FrameCommands[] = { + { "configure", TtkWidgetConfigureCommand,0 }, + { "cget", TtkWidgetCgetCommand,0 }, + { "instate", TtkWidgetInstateCommand,0 }, + { "state", TtkWidgetStateCommand,0 }, + { "identify", TtkWidgetIdentifyCommand,0 }, + { 0,0,0 } }; /* |