summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-06-03 11:08:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-06-03 11:08:38 (GMT)
commitbf81cf639e422d2da413f4b694ca7ce2d6e04e3d (patch)
treec79192f74a513c9e559f678cef64aeb06f6d1b3b /unix
parentba4887b314a87faef00f40b83a87039e5535ad86 (diff)
downloadtk-bf81cf639e422d2da413f4b694ca7ce2d6e04e3d.zip
tk-bf81cf639e422d2da413f4b694ca7ce2d6e04e3d.tar.gz
tk-bf81cf639e422d2da413f4b694ca7ce2d6e04e3d.tar.bz2
Convert TkpTestembedCmd and TkpTesttextCmd to Tcl_Obj-based commands.
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixEmbed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixEmbed.c b/unix/tkUnixEmbed.c
index 8a4c368..7f3f94b 100644
--- a/unix/tkUnixEmbed.c
+++ b/unix/tkUnixEmbed.c
@@ -867,8 +867,8 @@ int
TkpTestembedCmd(
ClientData clientData, /* Main window for application. */
Tcl_Interp *interp, /* Current interpreter. */
- int argc, /* Number of arguments. */
- const char **argv) /* Argument strings. */
+ int objc, /* Number of arguments. */
+ Tcl_Obj *const objv[]) /* Argument strings. */
{
int all;
Container *containerPtr;
@@ -877,7 +877,7 @@ TkpTestembedCmd(
ThreadSpecificData *tsdPtr =
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
- if ((argc > 1) && (strcmp(argv[1], "all") == 0)) {
+ if ((objc > 1) && (strcmp(Tcl_GetString(objv[1]), "all") == 0)) {
all = 1;
} else {
all = 0;