summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2007-11-04 17:26:21 -0800
committerJamey Sharp <jamey@minilop.net>2007-11-04 17:26:21 -0800
commitaf50de26c10c93ccc4cd3bc61e92aff47651b961 (patch)
tree64b7474cf9a98ee028f0d38e437d7fb431af1228
parenta29fbc2645fabb96d02c382ffef499b48fb1514a (diff)
Revert "Generate error constants as XCB_BAD_*, similar to Xlib."
Since several extensions named their errors like "BadFoo", this patch results in names like XCB_EXT_BAD_BAD_FOO, which is really awful. Those extensions are already kind of awful, as they produce structure names like xcb_ext_bad_foo_error_t, which is redundant. A patch that removes "Bad" from the XML extension descriptions, while maintaining API and ABI compatibility in XCB, is needed before this patch can be released. This reverts commit 158c9b6ba18b39f424bd524fceb66f3fec0d1616.
-rw-r--r--src/c-client.xsl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl
index c90e94f..be6aa30 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -449,11 +449,6 @@ authorization from the authors.
</xsl:when>
</xsl:choose>
</xsl:variable>
- <xsl:choose>
- <xsl:when test="self::error|self::errorcopy">
- <constant type="number" name="{xcb:xcb-prefix(concat('Bad', @name))}" value="{@number}" />
- </xsl:when>
- </xsl:choose>
<constant type="number" name="{xcb:xcb-prefix(@name)}" value="{@number}" />
<xsl:choose>
<xsl:when test="self::event|self::error">