generator: avoid another Implementor suffix hardcode

This "Implementor" suffix was refactored recently (in commit
6cb03440c1) to be accessed via the ImplementorName property. So we
eliminate now the last occurrence of it in hardcoded form.
This commit is contained in:
Andrés G. Aragoneses 2013-10-12 00:47:38 +02:00 committed by Bertrand Lorentz
parent 634f9e5f27
commit ea07082952

View file

@ -90,7 +90,8 @@ namespace GtkSharp.Generation {
if (implementor != null)
type = implementor.QualifiedName;
else if (this.container_type is InterfaceGen)
type = this.container_type.Name + "Implementor"; // We are in an interface/adaptor, invoke the method in the implementor class
// We are in an interface/adaptor, invoke the method in the implementor class
type = (this.container_type as InterfaceGen).ImplementorName;
else
type = this.container_type.Name;