diff --git a/reference/cairo/cairogradientpattern/addcolorstoprgb.xml b/reference/cairo/cairogradientpattern/addcolorstoprgb.xml
index 4f40c4a66a..4491e26e72 100644
--- a/reference/cairo/cairogradientpattern/addcolorstoprgb.xml
+++ b/reference/cairo/cairogradientpattern/addcolorstoprgb.xml
@@ -11,10 +11,10 @@
&reftitle.description;
public voidCairoGradientPattern::addColorStopRgb
- stringoffset
- stringred
- stringgreen
- stringblue
+ floatoffset
+ floatred
+ floatgreen
+ floatblue
The method description goes here.
diff --git a/reference/cairo/cairogradientpattern/addcolorstoprgba.xml b/reference/cairo/cairogradientpattern/addcolorstoprgba.xml
index a844d48344..7d92284b5a 100644
--- a/reference/cairo/cairogradientpattern/addcolorstoprgba.xml
+++ b/reference/cairo/cairogradientpattern/addcolorstoprgba.xml
@@ -11,11 +11,11 @@
&reftitle.description;
public voidCairoGradientPattern::addColorStopRgba
- stringoffset
- stringred
- stringgreen
- stringblue
- stringalpha
+ floatoffset
+ floatred
+ floatgreen
+ floatblue
+ floatalpha
The method description goes here.