gtkhtml r8700 - trunk/gtkhtml
- From: jjohnny svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r8700 - trunk/gtkhtml
- Date: Fri, 25 Jan 2008 12:30:50 +0000 (GMT)
Author: jjohnny
Date: Fri Jan 25 12:30:50 2008
New Revision: 8700
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8700&view=rev
Log:
Fix for #371011 by Matthew Barnes. Null check during in undo_or_redo when iterating over paragraphs.
Modified:
trunk/gtkhtml/ChangeLog
trunk/gtkhtml/htmlengine-edit-clueflowstyle.c
Modified: trunk/gtkhtml/htmlengine-edit-clueflowstyle.c
==============================================================================
--- trunk/gtkhtml/htmlengine-edit-clueflowstyle.c (original)
+++ trunk/gtkhtml/htmlengine-edit-clueflowstyle.c Fri Jan 25 12:30:50 2008
@@ -172,7 +172,7 @@
p = op->prop_list;
- while (p != NULL) {
+ while (p != NULL && obj != NULL) {
if (HTML_OBJECT_TYPE (obj->parent) != HTML_TYPE_CLUEFLOW) {
g_warning ("(%s:%s) Eeeek! Unknown parent type `%s'.",
__FILE__, G_GNUC_FUNCTION,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]