mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-05-12 11:42:20 +00: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>
|
2007-09-21 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/*.cs: add DefaultValue prop for obtaining a
|
* generator/*.cs: add DefaultValue prop for obtaining a
|
||||||
|
|
|
@ -269,6 +269,11 @@ namespace GLib {
|
||||||
Raw = raw;
|
Raw = raw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected Object ()
|
||||||
|
{
|
||||||
|
CreateNativeObject (new string [0], new GLib.Value [0]);
|
||||||
|
}
|
||||||
|
|
||||||
[DllImport("libgobject-2.0-0.dll")]
|
[DllImport("libgobject-2.0-0.dll")]
|
||||||
static extern IntPtr g_object_new (IntPtr gtype, IntPtr dummy);
|
static extern IntPtr g_object_new (IntPtr gtype, IntPtr dummy);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue