Blame build/g-ir-unbreak.xsl

Packit b00eeb
Packit b00eeb
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Packit b00eeb
    xmlns="http://www.gtk.org/introspection/core/1.0"
Packit b00eeb
    xmlns:gir="http://www.gtk.org/introspection/core/1.0"
Packit b00eeb
    xmlns:c="http://www.gtk.org/introspection/c/1.0">
Packit b00eeb
Packit b00eeb
    
Packit b00eeb
      HACK: Workarounds for https://bugzilla.gnome.org/show_bug.cgi?id=725501
Packit b00eeb
    -->
Packit b00eeb
    <xsl:template match="gir:virtual-method[@name='get_der_data']">
Packit b00eeb
        <xsl:copy>
Packit b00eeb
            <xsl:attribute name="invoker">get_der_data</xsl:attribute>
Packit b00eeb
            <xsl:apply-templates select="@*"/>
Packit b00eeb
            <xsl:apply-templates select="../gir:method[@name='get_der_data']/*"/>
Packit b00eeb
        </xsl:copy>
Packit b00eeb
    </xsl:template>
Packit b00eeb
Packit b00eeb
    <xsl:template match="@*|node()">
Packit b00eeb
        <xsl:copy>
Packit b00eeb
            <xsl:apply-templates select="@*|node()"/>
Packit b00eeb
        </xsl:copy>
Packit b00eeb
    </xsl:template>
Packit b00eeb
</xsl:stylesheet>