mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
RegisterGType can handle deeper namespace levels now
svn path=/trunk/gtk-sharp/; revision=12420
This commit is contained in:
parent
cf022facd6
commit
9d2efb1474
@ -150,7 +150,7 @@ namespace GLib {
|
||||
return null;
|
||||
}
|
||||
uint parent_gtype = (uint) pi.GetValue (null, null);
|
||||
string name = t.Namespace + t.Name;
|
||||
string name = t.Namespace.Replace(".", "_") + t.Name;
|
||||
GtkSharp.ObjectManager.RegisterType (name, t.Namespace + t.Name, t.Assembly.GetName().Name);
|
||||
return new GLib.Type (gtksharp_register_type (name, parent_gtype));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user