diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2015-05-19 16:04:11 +0200 |
---|---|---|
committer | Christian Linhart <chris@demorecorder.com> | 2015-05-31 11:15:27 +0200 |
commit | f05c1e0adabaf55ed20a2960e7f65f76e30a1c4a (patch) | |
tree | 4b4072b3977d396f24d0610160e6ffceeb4855a7 | |
parent | 54152b7a3d797d159f74de3552092c5c896b30cc (diff) |
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@redhat.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Christian Linhart <chris@demorecorder.com>
-rw-r--r-- | src/xprint.xml | 8 |
1 files changed, 6 insertions, 2 deletions
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"> |