From 43583aaa165c0ad5c50dddd0e25038cda2950dc6 Mon Sep 17 00:00:00 2001 From: Brandon Lewis Date: Tue, 15 Jun 2010 19:22:04 +0200 Subject: [PATCH] don't forget to check for null --- ges/ges-track-video-title-source.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ges/ges-track-video-title-source.c b/ges/ges-track-video-title-source.c index 7764b3bc62..1f3391fbe8 100644 --- a/ges/ges-track-video-title-source.c +++ b/ges/ges-track-video-title-source.c @@ -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 *