mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2007-09-21 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: add ctor (), which invokes CreateNativeObject to allow direct subclasses that do all the registration automatically. svn path=/trunk/gtk-sharp/; revision=86730
This commit is contained in:
parent
9f780a56b2
commit
70bd5d56e9
@ -1,3 +1,8 @@
|
||||
2007-09-21 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* glib/Object.cs: add ctor (), which invokes CreateNativeObject
|
||||
to allow direct subclasses that do all the registration automatically.
|
||||
|
||||
2007-09-21 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/*.cs: add DefaultValue prop for obtaining a
|
||||
|
@ -269,6 +269,11 @@ namespace GLib {
|
||||
Raw = raw;
|
||||
}
|
||||
|
||||
protected Object ()
|
||||
{
|
||||
CreateNativeObject (new string [0], new GLib.Value [0]);
|
||||
}
|
||||
|
||||
[DllImport("libgobject-2.0-0.dll")]
|
||||
static extern IntPtr g_object_new (IntPtr gtype, IntPtr dummy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user