[PATCH:libX11] specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder

Jamey Sharp jamey at minilop.net
Fri Jun 7 11:31:14 PDT 2013


Reviewed-by: Jamey Sharp <jamey at minilop.net>

On Fri, Jun 07, 2013 at 09:32:31AM -0700, Alan Coopersmith wrote:
> The XListPixmapFormats arguments was being shown with XImageByteOrder's
> name and return types.   Appears to have been a glitch in the nroff ->
> docbook conversion.
> 
> Reported-by: ZHANG Zhaolong <zhangzl2013 at 126.com>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  specs/libX11/CH02.xml |    9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml
> index 12df68e..5e0e611 100644
> --- a/specs/libX11/CH02.xml
> +++ b/specs/libX11/CH02.xml
> @@ -1511,12 +1511,9 @@ To obtain the pixmap format information for a given display, use
>  <indexterm significance="preferred"><primary>XListPixmapFormats</primary></indexterm>
>  <!-- .sM -->
>  </para>
> -<para>
> -ImageByteOrder(<emphasis remap='I'>display</emphasis>)
> -</para>
> -<funcsynopsis id='XImageByteOrder'>
> +<funcsynopsis id='XListPixmapFormats'>
>  <funcprototype>
> -  <funcdef>int <function>XImageByteOrder</function></funcdef>
> +  <funcdef>XPixmapFormatValues *<function>XListPixmapFormats</function></funcdef>
>    <paramdef>Display<parameter> *display</parameter></paramdef>
>    <paramdef>int<parameter> *count_return</parameter></paramdef>
>  </funcprototype>
> @@ -1577,7 +1574,7 @@ These are often used by toolkits as well as by simple applications.
>  <para>
>  ImageByteOrder(<emphasis remap='I'>display</emphasis>)
>  </para>
> -<funcsynopsis>
> +<funcsynopsis id='XImageByteOrder'>
>  <funcprototype>
>    <funcdef>int <function>XImageByteOrder</function></funcdef>
>    <paramdef>Display<parameter> *display</parameter></paramdef>
> -- 
> 1.7.9.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130607/a7e69ca2/attachment.pgp>


More information about the xorg-devel mailing list