mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
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
@ -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 New Issue
Block a user