[Xcb-commit] xcb/proto: src

Christian Linhart clinhart at kemper.freedesktop.org
Sun May 31 02:20:24 PDT 2015


 src/xprint.xml |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit f05c1e0adabaf55ed20a2960e7f65f76e30a1c4a
Author: Olivier Fourdan <ofourdan at redhat.com>
Date:   Tue May 19 16:04:11 2015 +0200

    xprint: Fix build of xprint extension
    
    Generated XCB code based on xprint.xml won't compile because the
    arguments do not match now that the accessor functions for requests are
    generated in libxcb.
    
    Fix the definition so that the arguments match and the generated C code
    for XPrint can compile.
    
    Note, XPrint support has been removed in the X server since 2008, so
    this is mostly cosmetic or even pedantic because XPrint is long gone.
    
    Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
    Reviewed-by: Peter Harris <pharris at opentext.com>
    Reviewed-by: Christian Linhart <chris at demorecorder.com>

diff --git a/src/xprint.xml b/src/xprint.xml
index dc23dd0..4da49b0 100644
--- a/src/xprint.xml
+++ b/src/xprint.xml
@@ -178,9 +178,13 @@ authorization from the authors.
             <fieldref>len_data</fieldref>
         </list>
         <!-- padding -->
-        <list type="STRING8" name="doc_format" />
+        <list type="STRING8" name="doc_format">
+            <fieldref>len_fmt</fieldref>
+        </list>
         <!-- padding -->
-        <list type="STRING8" name="options" />
+        <list type="STRING8" name="options">
+            <fieldref>len_options</fieldref>
+        </list>
     </request>
 
     <request name="PrintGetDocumentData" opcode="12">


More information about the xcb-commit mailing list