From d0bb5efa3a070e6fb488c9d26e8a4cdaac75eed3 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 25 Feb 2019 12:30:03 -0300 Subject: [PATCH] generator: Trim type "const " the same way as "const-" as both are valid --- Source/Tools/GapiCodegen/SymbolTable.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Tools/GapiCodegen/SymbolTable.cs b/Source/Tools/GapiCodegen/SymbolTable.cs index e412c044d..0e1cdc92d 100644 --- a/Source/Tools/GapiCodegen/SymbolTable.cs +++ b/Source/Tools/GapiCodegen/SymbolTable.cs @@ -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; }