[Xcb] [PATCH proto] xproto: Fix GContext error references in documentation

Daniel Martin consume.noise at gmail.com
Sun Jul 28 12:20:34 PDT 2013


The name of the error is GContext, not GC.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/xproto.xml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/xproto.xml b/src/xproto.xml
index bf4dcbf..c97919b 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -3404,7 +3404,7 @@ <request name="QueryTextExtents" opcode="48">
       <field name="string"><![CDATA[
 The text to get text extents for.
       ]]></field>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified graphics context does not exist.
       ]]></error>
       <error type="Font"><![CDATA[
@@ -3953,7 +3953,7 @@ <request name="ChangeGC" opcode="56">
       <error type="Font"><![CDATA[
 TODO: reasons?
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 TODO: reasons?
       ]]></error>
       <error type="Match"><![CDATA[
@@ -4012,7 +4012,7 @@ <request name="FreeGC" opcode="60">
 Destroys the specified `gc` and all associated storage.
       ]]></description>
       <field name="gc"><![CDATA[The graphics context to destroy.]]></field>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified graphics context does not exist.
       ]]></error>
     </doc>
@@ -4073,7 +4073,7 @@ <request name="CopyArea" opcode="62">
       <error type="Drawable"><![CDATA[
 The specified `drawable` (Window or Pixmap) does not exist.
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified graphics context does not exist.
       ]]></error>
       <error type="Match"><![CDATA[
@@ -4162,7 +4162,7 @@ <request name="PolyLine" opcode="65" combine-adjacent="true">
       <error type="Drawable"><![CDATA[
 TODO: reasons?
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 TODO: reasons?
       ]]></error>
       <error type="Match"><![CDATA[
@@ -4216,7 +4216,7 @@ <request name="PolySegment" opcode="66" combine-adjacent="true">
       <error type="Drawable"><![CDATA[
 The specified `drawable` does not exist.
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified `gc` does not exist.
       ]]></error>
       <error type="Match"><![CDATA[
@@ -4294,7 +4294,7 @@ <request name="PolyFillRectangle" opcode="70" combine-adjacent="true">
       <error type="Drawable"><![CDATA[
 The specified `drawable` (Window or Pixmap) does not exist.
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified graphics context does not exist.
       ]]></error>
       <error type="Match"><![CDATA[
@@ -4417,7 +4417,7 @@ <request name="ImageText8" opcode="76">
       <error type="Drawable"><![CDATA[
 The specified `drawable` (Window or Pixmap) does not exist.
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified graphics context does not exist.
       ]]></error>
       <error type="Match"><![CDATA[
@@ -4475,7 +4475,7 @@ <request name="ImageText16" opcode="77">
       <error type="Drawable"><![CDATA[
 The specified `drawable` (Window or Pixmap) does not exist.
       ]]></error>
-      <error type="GC"><![CDATA[
+      <error type="GContext"><![CDATA[
 The specified graphics context does not exist.
       ]]></error>
       <error type="Match"><![CDATA[
-- 
1.8.3.3



More information about the Xcb mailing list