generator: Trim type "const " the same way as "const-" as both are valid
This commit is contained in:
parent
a7d3e85829
commit
d0bb5efa3a
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ namespace GtkSharp.Generation {
|
|||
return trim_type;
|
||||
|
||||
if (trim_type.StartsWith("const-")) return trim_type.Substring(6);
|
||||
if (trim_type.StartsWith("const ")) return trim_type.Substring(6);
|
||||
return trim_type;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue