don't forget to check for null

This commit is contained in:
Brandon Lewis 2010-06-15 19:22:04 +02:00 committed by Edward Hervey
parent 6f49bdd90c
commit 43583aaa16

View file

@ -165,7 +165,8 @@ ges_track_video_title_source_set_text (GESTrackVideoTitleSource * self,
const gchar * text)
{
self->text = g_strdup (text);
g_object_set (self->text_el, "text", text, NULL);
if (self->text_el)
g_object_set (self->text_el, "text", text, NULL);
}
GESTrackVideoTitleSource *