commit 9f6d64605779d2cd5642cb9502c3e1c9a041ec2e
Author: Thomas Mittelstaedt <tmstaedt@t-mittelstaedt.de>
Date:   Sun Aug 22 04:39:25 2010 +0200

    Return early, if layout is NULL

diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 60624a5..8057a5c 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -572,7 +572,7 @@ build_layout (ECellTextView *text_view, gint row, const gchar *text, gint width)
 	pango_layout_set_attributes (layout, attrs);
 	pango_attr_list_unref (attrs);
 
-	if (text_view->edit || width <= 0)
+	if (text_view->edit || width <= 0 || layout == NULL)
 		return layout;
 
 	context = pango_layout_get_context (layout);
