2007-11-28 Mike Kestner <mkestner@novell.com>

* glib/Object.cs: take ref using method param to avoid
	NREs. [Fixes #344250]

svn path=/trunk/gtk-sharp/; revision=90412
This commit is contained in:
Mike Kestner 2007-11-29 02:02:24 +00:00
parent 70018d857d
commit f5e6d14520
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-11-28 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: take ref using method param to avoid
NREs. [Fixes #344250]
2007-11-16 Mike Kestner <mkestner@novell.com> 2007-11-16 Mike Kestner <mkestner@novell.com>
* glib/Object.cs: use toggle refs for all objects. * glib/Object.cs: use toggle refs for all objects.

View file

@ -115,7 +115,7 @@ namespace GLib {
} }
if (!owned_ref) if (!owned_ref)
g_object_ref (obj.Handle); g_object_ref (o);
obj = GLib.ObjectManager.CreateObject(o); obj = GLib.ObjectManager.CreateObject(o);
if (obj == null) { if (obj == null) {