diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-20 15:22:43 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-20 15:22:43 +0200 |
commit | 055571f20cbf8a7ccda05623b3281108bc14c21a (patch) | |
tree | 081292159ef417b78635a4f626b7bc34da137225 | |
parent | cc2aa83e67841b7886d1aa055c1cd7c3a20b4e24 (diff) |
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.
-rw-r--r-- | gstreamer-sharp/MiniObject.cs | 20 |
1 files changed, 0 insertions, 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); |