summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixDialog.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-08-01 16:21:11 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-08-01 16:21:11 (GMT)
commit98ea3cb2214b51432f38f6ea50c1c429397281cc (patch)
tree38846cbe94cc8aac068898282ced4624f130770e /unix/tkUnixDialog.c
parent7e9aececf720b6f0e20157366f8e977ad2378ddd (diff)
downloadtk-98ea3cb2214b51432f38f6ea50c1c429397281cc.zip
tk-98ea3cb2214b51432f38f6ea50c1c429397281cc.tar.gz
tk-98ea3cb2214b51432f38f6ea50c1c429397281cc.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);
}