Skip to content

Instantly share code, notes, and snippets.

@bl8
Created November 3, 2012 17:05
Show Gist options
  • Save bl8/4007935 to your computer and use it in GitHub Desktop.
Save bl8/4007935 to your computer and use it in GitHub Desktop.
Make bindinate default to GAPI 3
diff --git a/bindinate/preprocess.xslt b/bindinate/preprocess.xslt
index e07b628..ca6cb85 100644
--- a/bindinate/preprocess.xslt
+++ b/bindinate/preprocess.xslt
@@ -63,8 +63,8 @@ exclude-result-prefixes="xsl exsl gir c glib"
</xsl:when>
<xsl:when test="$type='gapi'">
<xsl:choose>
- <xsl:when test="gir:repository/gir:include/@name='Gdk' and gir:repository/gir:include/@version='3.0'">3</xsl:when>
- <xsl:otherwise>2</xsl:otherwise>
+ <xsl:when test="gir:repository/gir:include/@name='Gdk' and gir:repository/gir:include/@version='2.0'">2</xsl:when>
+ <xsl:otherwise>3</xsl:otherwise>
</xsl:choose>
</xsl:when>
</xsl:choose>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment