timeline-element: Do not give a reference to the calles of g_object_get_property

... for both the "parent" and the "timeline" properties

Making things simpler to handle for the copy method.
This commit is contained in:
Thibault Saunier 2013-03-18 10:03:19 -03:00
parent f8334dba24
commit 5b2183076a

View file

@ -76,10 +76,10 @@ _get_property (GObject * object, guint property_id,
switch (property_id) {
case PROP_PARENT:
g_value_set_object (value, self->parent);
g_value_take_object (value, self->parent);
break;
case PROP_TIMELINE:
g_value_set_object (value, self->timeline);
g_value_take_object (value, self->timeline);
break;
case PROP_START:
g_value_set_uint64 (value, self->start);