mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
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.
This commit is contained in:
parent
cc2aa83e67
commit
055571f20c
1 changed files with 0 additions and 20 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue