summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixDialog.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2001-08-01 16:21:11 (GMT)
committerdgp@users.sourceforge.net <dgp>2001-08-01 16:21:11 (GMT)
commitc7434cee89e3147e22707264d6a59c0f68153e58 (patch)
tree38846cbe94cc8aac068898282ced4624f130770e /unix/tkUnixDialog.c
parent70f7337d907732723cfac8033e7ff856d33aa5e8 (diff)
downloadtk-c7434cee89e3147e22707264d6a59c0f68153e58.zip
tk-c7434cee89e3147e22707264d6a59c0f68153e58.tar.gz
tk-c7434cee89e3147e22707264d6a59c0f68153e58.tar.bz2
Merged changes from feature branch dgp-privates-into-namespace,
implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
Diffstat (limited to 'unix/tkUnixDialog.c')
-rw-r--r--unix/tkUnixDialog.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/unix/tkUnixDialog.c b/unix/tkUnixDialog.c
index 787fae6..9e31fd9 100644
--- a/unix/tkUnixDialog.c
+++ b/unix/tkUnixDialog.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixDialog.c,v 1.2 1998/09/14 18:23:55 stanton Exp $
+ * RCS: @(#) $Id: tkUnixDialog.c,v 1.3 2001/08/01 16:21:12 dgp Exp $
*
*/
@@ -103,7 +103,7 @@ Tk_ChooseColorCmd(clientData, interp, argc, argv)
int argc; /* Number of arguments. */
char **argv; /* Argument strings. */
{
- return EvalArgv(interp, "tkColorDialog", argc, argv);
+ return EvalArgv(interp, "tk::ColorDialog", argc, argv);
}
/*
@@ -137,9 +137,9 @@ Tk_GetOpenFileCmd(clientData, interp, argc, argv)
Tk_Window tkwin = (Tk_Window)clientData;
if (Tk_StrictMotif(tkwin)) {
- return EvalArgv(interp, "tkMotifFDialog", argc, argv);
+ return EvalArgv(interp, "tk::MotifFDialog", argc, argv);
} else {
- return EvalArgv(interp, "tkFDialog", argc, argv);
+ return EvalArgv(interp, "tk::FDialog", argc, argv);
}
}
@@ -170,9 +170,9 @@ Tk_GetSaveFileCmd(clientData, interp, argc, argv)
Tk_Window tkwin = (Tk_Window)clientData;
if (Tk_StrictMotif(tkwin)) {
- return EvalArgv(interp, "tkMotifFDialog", argc, argv);
+ return EvalArgv(interp, "tk::MotifFDialog", argc, argv);
} else {
- return EvalArgv(interp, "tkFDialog", argc, argv);
+ return EvalArgv(interp, "tk::FDialog", argc, argv);
}
}
@@ -202,6 +202,6 @@ Tk_MessageBoxCmd(clientData, interp, argc, argv)
int argc; /* Number of arguments. */
char **argv; /* Argument strings. */
{
- return EvalArgv(interp, "tkMessageBox", argc, argv);
+ return EvalArgv(interp, "tk::MessageBox", argc, argv);
}