summaryrefslogtreecommitdiffstats
path: root/generic/tkOldConfig.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-28 11:24:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-28 11:24:03 (GMT)
commitf5cd036029ec84c3e42c672341d77ca013afbc71 (patch)
tree65123df923e2cd33f1a897da5b4a37c2e704270f /generic/tkOldConfig.c
parent13e6c44129865089d8680474141354555450ae04 (diff)
downloadtk-f5cd036029ec84c3e42c672341d77ca013afbc71.zip
tk-f5cd036029ec84c3e42c672341d77ca013afbc71.tar.gz
tk-f5cd036029ec84c3e42c672341d77ca013afbc71.tar.bz2
Convert all Tcl_SetResult calls to Tcl_SetObjResult calls.
Convert Tcl_GetStringFromObj to Tcl_GetString when possible.
Diffstat (limited to 'generic/tkOldConfig.c')
-rw-r--r--generic/tkOldConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c
index 5496076..f9a69de 100644
--- a/generic/tkOldConfig.c
+++ b/generic/tkOldConfig.c
@@ -122,7 +122,7 @@ Tk_ConfigureWidget(
const char *arg;
if (flags & TK_CONFIG_OBJS) {
- arg = Tcl_GetStringFromObj((Tcl_Obj *) *argv, NULL);
+ arg = Tcl_GetString((Tcl_Obj *) *argv);
} else {
arg = *argv;
}