Remove the xcb_[extension]_init functions; use xcb_get_extension_data directly
authorJosh Triplett <josh@freedesktop.org>
Sat, 23 Sep 2006 21:44:15 +0000 (14:44 -0700)
committerJosh Triplett <josh@freedesktop.org>
Sat, 23 Sep 2006 21:44:15 +0000 (14:44 -0700)
src/c-client.xsl

index 188e8b0..982ec02 100644 (file)
@@ -89,11 +89,6 @@ authorization from the authors.
         <constant type="xcb_extension_t" name="{xcb:xcb-prefix()}_id">
           <xsl:attribute name="value">{ "<xsl:value-of select="@extension-xname" />" }</xsl:attribute>
         </constant>
-        <function type="const xcb_query_extension_reply_t *" name="{xcb:xcb-prefix('init')}">
-          <field type="xcb_connection_t *" name="c" />
-          <l>return xcb_get_extension_data(c, &amp;<!--
-          --><xsl:value-of select="xcb:xcb-prefix()" />_id);</l>
-        </function>
       </xsl:if>
       <xsl:apply-templates mode="pass1" />
     </xcb>