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

Matt Dew marcoz at osource.org
Thu Jun 20 17:21:31 PDT 2013


Ah, documentation bug fixes. Awesome!  Thanks guys.   Yea, I'm not 
surprised there were some mistakes.  That conversion was painful.

Matt


On 06/07/2013 12:31 PM, Jamey Sharp wrote:
> 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
>>
>>
>> _______________________________________________
>> 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



More information about the xorg-devel mailing list