summaryrefslogtreecommitdiff
path: root/man/XtCreateWidget.man
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-23 06:46:42 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:21:16 -0400
commit149159df368aaa50db9e3e02f725d147ff557dbd (patch)
treebdaff74b26095d6b094d8bed348145bc37f67790 /man/XtCreateWidget.man
parente5a1e228e7ab7332d46db9278fa7af85ae889e70 (diff)
updated manual pages' C prototypes to agree with the header-files.
This takes into account the _CONST_X_STRING feature, distinguishing between String and char* and const char*, but also in several cases, such as XtSessionGetToken, the manual page was wrong. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> Conflicts: man/XtAppErrorMsg.man
Diffstat (limited to 'man/XtCreateWidget.man')
-rw-r--r--man/XtCreateWidget.man8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/XtCreateWidget.man b/man/XtCreateWidget.man
index 248fcf0..f0f87d0 100644
--- a/man/XtCreateWidget.man
+++ b/man/XtCreateWidget.man
@@ -40,17 +40,17 @@
XtCreateWidget, XtVaCreateWidget, XtCreateManagedWidget, XtVaCreateManagedWidget, XtDestroyWidget \- create and destroy widgets
.SH SYNTAX
.HP
-Widget XtCreateWidget(String \fIname\fP, WidgetClass \fIwidget_class\fP,
+Widget XtCreateWidget(const char *\fIname\fP, WidgetClass \fIwidget_class\fP,
Widget \fIparent\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP);
.HP
-Widget XtVaCreateWidget(String \fIname\fP, WidgetClass \fIwidget_class\fP,
+Widget XtVaCreateWidget(const char *\fIname\fP, WidgetClass \fIwidget_class\fP,
Widget \fIparent\fP, ...\^);
.HP
-Widget XtCreateManagedWidget(String \fIname\fP, WidgetClass
+Widget XtCreateManagedWidget(const char *\fIname\fP, WidgetClass
\fIwidget_class\fP, Widget \fIparent\fP, ArgList \fIargs\fP, Cardinal
\fInum_args\fP);
.HP
-Widget XtVaCreateManagedWidget(String \fIname\fP, WidgetClass
+Widget XtVaCreateManagedWidget(const char *\fIname\fP, WidgetClass
\fIwidget_class\fP, Widget \fIparent\fP, ...\^);
.HP
void XtDestroyWidget(Widget \fIw\fP);