diff --git a/gio/gio-api.raw b/gio/gio-api.raw
index d54776e80..9139e1742 100644
--- a/gio/gio-api.raw
+++ b/gio/gio-api.raw
@@ -6030,7 +6030,7 @@
-
+
@@ -6040,7 +6040,7 @@
-
+
@@ -6059,7 +6059,7 @@
-
+
@@ -12687,7 +12687,7 @@
-
+
diff --git a/parser/gapi2xml.pl b/parser/gapi2xml.pl
index 412286a85..60f7cdd51 100755
--- a/parser/gapi2xml.pl
+++ b/parser/gapi2xml.pl
@@ -902,6 +902,7 @@ sub addParamsElem
$parm =~ s/(\w+)\s+const\s*\*/const \1\*/g;
$parm =~ s/const\s+/const-/g;
$parm =~ s/unsigned\s+/unsigned-/g;
+ $parm =~ s/\bvolatile\s+//g;
if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) {
my $ret = $1; my $cbn = $2; my $params = $3;
my $type = $parent->getAttribute('name') . StudlyCaps($cbn);