From 055571f20cbf8a7ccda05623b3281108bc14c21a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 20 Jun 2009 15:22:43 +0200 Subject: [PATCH] Remove the Data hashtables from MiniObject We don't have any ways to store them in a persitant way anyway, for example the content will disappear if the managed mini object is unreffed and later the same native instance is used again in managed code. --- gstreamer-sharp/MiniObject.cs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/gstreamer-sharp/MiniObject.cs b/gstreamer-sharp/MiniObject.cs index a260e77..dc3d1fb 100644 --- a/gstreamer-sharp/MiniObject.cs +++ b/gstreamer-sharp/MiniObject.cs @@ -391,26 +391,6 @@ namespace Gst { return Handle.GetHashCode (); } - Hashtable data; - public Hashtable Data { - get { - if (data == null) - data = new Hashtable (); - - return data; - } - } - - Hashtable persistent_data; - protected Hashtable PersistentData { - get { - if (persistent_data == null) - persistent_data = new Hashtable (); - - return persistent_data; - } - } - [DllImport ("libgobject-2.0-0.dll") ] static extern bool g_type_check_instance_is_a (IntPtr obj, IntPtr gtype); -- 2.7.4