Read the name attribute for constructors converted to static factory methods
svn path=/trunk/gtk-sharp/; revision=132561
This commit is contained in:
parent
643a910cd6
commit
89702a7e51
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ namespace GtkSharp.Generation {
|
|||
get {
|
||||
if (!IsStatic)
|
||||
return String.Empty;
|
||||
|
||||
if (Name != null && Name != String.Empty)
|
||||
return Name;
|
||||
|
||||
string[] toks = CName.Substring(CName.IndexOf("new")).Split ('_');
|
||||
string result = String.Empty;
|
||||
|
|
Loading…
Reference in a new issue