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:
parent
634f9e5f27
commit
ea07082952
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue