diff --git a/ChangeLog b/ChangeLog index 9a8e72f14..12b2445d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-06 Mike Kestner + + * generator/FieldBase.cs: mangle compound typenames for glue. + [Fixes #501329] Patch by Sebastian Dröge. + 2009-05-06 Mike Kestner * generator/VirtualMethod.cs: refactoring to reuse retval prop. diff --git a/generator/FieldBase.cs b/generator/FieldBase.cs index d2ba5fb5d..3fc07a83b 100644 --- a/generator/FieldBase.cs +++ b/generator/FieldBase.cs @@ -92,7 +92,7 @@ namespace GtkSharp.Generation { if (Access != "public") return; - string prefix = (container_type.NS + "Sharp_" + container_type.NS + "_" + container_type.Name).ToLower (); + string prefix = (container_type.NS + "Sharp_" + container_type.NS + "_" + container_type.Name).Replace(".", "__").ToLower (); if (IsBitfield) { if (Readable && Getter == null)