From: Evan Nemerson Date: Mon, 11 Feb 2013 20:35:21 +0000 (-0800) Subject: girwriter: fix name of *Class structs for nested types in GIRs X-Git-Tag: 0.19.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6142b68527ec7aa12ddcc0a4aa4a47125697344d;p=thirdparty%2Fvala.git girwriter: fix name of *Class structs for nested types in GIRs Fixes bug 689500. --- diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala index 3f743d35b..612fafe05 100644 --- a/codegen/valagirwriter.vala +++ b/codegen/valagirwriter.vala @@ -300,7 +300,7 @@ public class Vala.GIRWriter : CodeVisitor { } if (cl.is_subtype_of (gobject_type)) { - string gtype_struct_name = cl.name + "Class"; + string gtype_struct_name = get_gir_name (cl) + "Class"; write_indent (); buffer.append_printf ("