gtkhtml r9058 - trunk/gtkhtml
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r9058 - trunk/gtkhtml
- Date: Tue, 9 Dec 2008 12:35:40 +0000 (UTC)
Author: mcrha
Date: Tue Dec 9 12:35:40 2008
New Revision: 9058
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=9058&view=rev
Log:
2008-12-09 Milan Crha <mcrha redhat com>
** Fix for bug #555388
* htmlengine-edit-table.c: (table_set_align):
Do not crash on undo of a table creation.
Modified:
trunk/gtkhtml/ChangeLog
trunk/gtkhtml/htmlengine-edit-table.c
Modified: trunk/gtkhtml/htmlengine-edit-table.c
==============================================================================
--- trunk/gtkhtml/htmlengine-edit-table.c (original)
+++ trunk/gtkhtml/htmlengine-edit-table.c Tue Dec 9 12:35:40 2008
@@ -1051,6 +1051,10 @@
{
HTMLTableSetAttrUndo *undo;
+ /* table gone */
+ if (!t)
+ return;
+
g_return_if_fail (HTML_OBJECT (t)->parent);
undo = attr_undo_new (HTML_TABLE_ALIGN);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]