diff --git a/glib/Makefile.am b/glib/Makefile.am index 4e4aad34f..a92c5836b 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -69,7 +69,6 @@ sources = \ TypeConverter.cs \ TypeFundamentals.cs \ TypeInitializerAttribute.cs \ - UnwrappedObject.cs \ ValueArray.cs \ Value.cs \ Variant.cs diff --git a/glib/UnwrappedObject.cs b/glib/UnwrappedObject.cs deleted file mode 100644 index d45ddc23e..000000000 --- a/glib/UnwrappedObject.cs +++ /dev/null @@ -1,40 +0,0 @@ -// UnwrappedObject.cs - Class which holds an IntPtr without resolving it: -// -// Author: Rachel Hestilow -// -// Copyright (c) 2002 Rachel Hestilow -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of version 2 of the Lesser GNU General -// Public License as published by the Free Software Foundation. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this program; if not, write to the -// Free Software Foundation, Inc., 59 Temple Place - Suite 330, -// Boston, MA 02111-1307, USA. - - -namespace GLib { - - using System; - using System.Runtime.InteropServices; - - [Obsolete ("Replaced by direct object-type casts to/from GLib.Value")] - public class UnwrappedObject { - IntPtr obj; - - public UnwrappedObject (IntPtr obj) { - this.obj = obj; - } - - public static explicit operator System.IntPtr (UnwrappedObject obj) { - return obj.obj; - } - } -} - diff --git a/glib/Value.cs b/glib/Value.cs index d1465dac3..ecbc415b5 100755 --- a/glib/Value.cs +++ b/glib/Value.cs @@ -300,12 +300,6 @@ namespace GLib { return GLib.Object.GetObject (g_value_get_object (ref val), false); } - [Obsolete ("Replaced by GLib.Object cast")] - public static explicit operator GLib.UnwrappedObject (Value val) - { - return new UnwrappedObject (g_value_get_object (ref val)); - } - public static explicit operator string[] (Value val) { IntPtr native_array = g_value_get_boxed (ref val);