From 7ea17057786e8d6e6c1f848d92c2ae7659a487c5 Mon Sep 17 00:00:00 2001 From: Gonzalo Paniagua Javier Date: Thu, 20 Oct 2005 02:36:26 +0000 Subject: [PATCH] 2005-10-19 Gonzalo Paniagua Javier * glib/Object.cs: remove the fast path. It was causing troubles with MD. svn path=/trunk/gtk-sharp/; revision=51957 --- ChangeLog | 5 +++++ glib/Object.cs | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ef57695f..5b932362e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-19 Gonzalo Paniagua Javier + + * glib/Object.cs: remove the fast path. It was causing troubles with + MD. + 2005-10-19 Mike Kestner * gnome/PrintContext.custom (SetFont): pass the font by handle, not diff --git a/glib/Object.cs b/glib/Object.cs index 063515061..f9c8f8572 100644 --- a/glib/Object.cs +++ b/glib/Object.cs @@ -80,13 +80,6 @@ namespace GLib { return; disposed = true; - if (MainContext.Depth > 0) { - g_object_unref (_obj); - Objects.Remove (_obj); - GC.SuppressFinalize (this); - return; - } - lock (PendingDestroys){ PendingDestroys.Add (this); lock (typeof (Object)){