diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-06-14 17:11:11 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-06-14 17:11:11 +0200 |
commit | 12aefaa078c380bb6ebe1fffe9134908e6fae347 (patch) | |
tree | 1e3424866d63c531da1c08ed782f471de588bd17 /gst/gstminiobject.c | |
parent | a1c5b00e72cb75c198d1533d6ab0cfe58ce66274 (diff) |
miniobject: remove the size field
The size field is used by subclasses to store the total allocated size of the
memory for this miniobject. Because miniobject doesn't really do anything with
this field we can move it to the subclasses.
Diffstat (limited to 'gst/gstminiobject.c')
-rw-r--r-- | gst/gstminiobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/gstminiobject.c b/gst/gstminiobject.c index 55d846bb3..705152a25 100644 --- a/gst/gstminiobject.c +++ b/gst/gstminiobject.c @@ -80,12 +80,11 @@ _priv_gst_mini_object_initialize (void) * Returns: (transfer full): the new mini-object. */ void -gst_mini_object_init (GstMiniObject * mini_object, GType type, gsize size) +gst_mini_object_init (GstMiniObject * mini_object, GType type) { mini_object->type = type; mini_object->refcount = 1; mini_object->flags = 0; - mini_object->size = size; mini_object->n_weak_refs = 0; mini_object->weak_refs = NULL; |