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
|
@ -52,6 +52,9 @@ namespace GtkSharp.Generation {
|
||||||
if (!IsStatic)
|
if (!IsStatic)
|
||||||
return String.Empty;
|
return String.Empty;
|
||||||
|
|
||||||
|
if (Name != null && Name != String.Empty)
|
||||||
|
return Name;
|
||||||
|
|
||||||
string[] toks = CName.Substring(CName.IndexOf("new")).Split ('_');
|
string[] toks = CName.Substring(CName.IndexOf("new")).Split ('_');
|
||||||
string result = String.Empty;
|
string result = String.Empty;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue