GES: Fix initialization values
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 6 Jul 2010 17:03:05 +0000 (19:03 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 9 Jul 2010 11:21:17 +0000 (13:21 +0200)
ges/ges-timeline-text-overlay.c
ges/ges-timeline-title-source.c

index fb1790b48c34b7530f49bb669d9176adf2f14f51..c107153afbc815d03351c6e7fa2c9224f139fa36 100644 (file)
@@ -199,8 +199,9 @@ static void
 ges_tl_text_overlay_init (GESTimelineTextOverlay * self)
 {
   GES_TIMELINE_OBJECT (self)->duration = 0;
+  /* Not 100% needed since gobject contents are memzero'd when created */
   self->text = NULL;
-  self->text = NULL;
+  self->font_desc = NULL;
   self->halign = DEFAULT_PROP_HALIGNMENT;
   self->valign = DEFAULT_PROP_VALIGNMENT;
 }
index d5372f3e13c593b98bceb56f0f42aab689362a3b..84a4846ced5e46289ced9878b3ba1ac157866f20 100644 (file)
@@ -217,8 +217,10 @@ static void
 ges_tl_title_src_init (GESTimelineTitleSource * self)
 {
   GES_TIMELINE_OBJECT (self)->duration = 0;
+  /* Not 100% required since a new gobject's content will always be memzero'd */
+  self->mute = FALSE;
   self->text = NULL;
-  self->text = NULL;
+  self->font_desc = NULL;
   self->halign = DEFAULT_HALIGNMENT;
   self->valign = DEFAULT_VALIGNMENT;
 }