[PATCH] libXt: add simple example for XtName man page

Alan Coopersmith alan.coopersmith at oracle.com
Sun Jan 23 09:26:54 PST 2011


> @@ -134,7 +138,36 @@ Specifies the widget.
>  .SH DESCRIPTION
>  .ZN XtName
>  returns the widget's name.
> +
> +.SH EXAMPLE
> +
> +The example demonstrate the use.

I'd just leave that line out, since it's obvious that's what the
example is for - putting in something more descriptive is useful,
but stating the obvious doesn't seem to be.   (Also, I'd have
written it as "This example demonstrates the use of XtName."
but that also doesn't add anything, so just removing seems best.)

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list