File bgo-555388-undo-table.patch of Package gtkhtml2

Index: gtkhtml/htmlengine-edit-table.c
===================================================================
--- gtkhtml/htmlengine-edit-table.c	(revision 9051)
+++ gtkhtml/htmlengine-edit-table.c	(working copy)
@@ -1051,6 +1051,10 @@ table_set_align (HTMLEngine *e, HTMLTabl
 {
 	HTMLTableSetAttrUndo *undo;
 
+	/* table gone */
+	if (!t)
+		return;
+
 	g_return_if_fail (HTML_OBJECT (t)->parent);
 
 	undo = attr_undo_new (HTML_TABLE_ALIGN);
openSUSE Build Service is sponsored by