[evolution-patches] [gtkhtml] #63060 loop recursion test is broken




Index: htmliframe.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmliframe.c,v
retrieving revision 1.86
diff -u -p -r1.86 htmliframe.c
--- htmliframe.c	22 Jul 2004 13:15:14 -0000	1.86
+++ htmliframe.c	16 Aug 2004 17:52:27 -0000
@@ -616,7 +616,9 @@ html_iframe_init (HTMLIFrame *iframe,
 			handle = gtk_html_begin (new_html);
 			g_signal_emit_by_name (parent_html->engine, "url_requested", src, handle);
 		}
-	}
+	} else
+		gtk_html_load_empty (new_html);
+
 	new_html->engine->clue->parent = HTML_OBJECT (iframe);
 	
 #if 0
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2034
diff -u -p -r1.2034 ChangeLog
--- ChangeLog	16 Aug 2004 16:49:49 -0000	1.2034
+++ ChangeLog	16 Aug 2004 17:52:34 -0000
@@ -1,5 +1,9 @@
 2004-08-16  Radek Doulik  <rodo ximian com>
 
+	* htmliframe.c (html_iframe_init): load empty iframe if depth > 10
+
+	Fixes #63060
+
 	* htmlgdkpainter.c (begin): fix from Robert McQueen, make sure
 	that our backstore pixmap has colormap
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]