diff --git a/generator/Constant.cs b/generator/Constant.cs index c8a06ca14..2b197d782 100644 --- a/generator/Constant.cs +++ b/generator/Constant.cs @@ -58,7 +58,13 @@ namespace GtkSharp.Generation { StreamWriter sw = gen_info.Writer; - sw.WriteLine ("{0}public const {1} {2} = {3}{4}{3};", indent, ConstType, Name, IsString ? "\"": String.Empty, value); + sw.WriteLine ("{0}public const {1} {2} = {3}{4}{5};", + indent, + ConstType, + Name, + IsString ? "@\"": String.Empty, + value, + IsString ? "\"": String.Empty); } } }