summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-08-20 15:32:50 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2007-08-20 15:32:50 +0200
commit0def1dd7f7048ae5708585742bef606787bdb1c5 (patch)
treef2deb4806aae3ab784cc1bd8583e3b430ecd01fe
parentbb4e524330226fb19d1c1a97d8d8c280d6b530bc (diff)
downloadbcop-0def1dd7f7048ae5708585742bef606787bdb1c5.tar.gz
bcop-0def1dd7f7048ae5708585742bef606787bdb1c5.tar.bz2
Apply current core changes.
-rw-r--r--src/bcop.xslt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 9a7f134..cd44b21 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -522,7 +522,7 @@ unsigned short </xsl:text>
</xsl:text>
</xsl:when>
- <xsl:when test="@type='action'">
+ <xsl:when test="@type='action' or @type='key' or @type='button' or @type='edge' or @type='bell'">
<xsl:text>CompAction * </xsl:text>
<xsl:call-template name="printGetFunctionDef"/>
<xsl:text>
@@ -775,7 +775,7 @@ void </xsl:text>
<xsl:template name="setDisplayOptions">
<xsl:text>static Bool </xsl:text>
<xsl:value-of select="$plugin"/>
- <xsl:text>OptionsSetDisplayOption (CompPlugin *plugin, CompDisplay *d, char *name, CompOptionValue *value)
+ <xsl:text>OptionsSetDisplayOption (CompPlugin *plugin, CompDisplay *d, const char *name, CompOptionValue *value)
{
</xsl:text>
<xsl:value-of select="$PLUGIN"/>
@@ -808,7 +808,7 @@ void </xsl:text>
<xsl:template name="setScreenOptions">
<xsl:text>static Bool </xsl:text>
<xsl:value-of select="$plugin"/>
- <xsl:text>OptionsSetScreenOption (CompPlugin *plugin, CompScreen *s, char *name, CompOptionValue *value)
+ <xsl:text>OptionsSetScreenOption (CompPlugin *plugin, CompScreen *s, const char *name, CompOptionValue *value)
{
</xsl:text>
<xsl:value-of select="$PLUGIN"/>
@@ -1548,7 +1548,7 @@ unsigned short </xsl:text>
<xsl:text>);
</xsl:text>
</xsl:when>
- <xsl:when test="@type='action'">
+ <xsl:when test="@type='action' or @type='key' or @type='button' or @type='edge' or @type='bell'">
<xsl:text>CompAction * </xsl:text>
<xsl:call-template name="printGetFunctionDef"/>
<xsl:text>;