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
2 changed files with 10 additions and 0 deletions
|
@ -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 a new issue