[evolution-patches] [GtkHtml]Fix for bug 333886



Hi
Attched is the patch for bug 333886, please review it.

Jeff Cai
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2170
diff -u -r1.2170 ChangeLog
--- ChangeLog	1 Mar 2006 06:04:01 -0000	1.2170
+++ ChangeLog	8 Mar 2006 12:52:17 -0000
@@ -1,3 +1,10 @@
+2006-03-08  Jeff Cai  <jeff cai sun com>
+
+	* htmlselection.c: (html_engine_is_selection_active):
+	No need to check before the function returns.
+
+	* Fixes bug #333886
+
 2006-03-01  Srinivasa Ragavan  <sragavan novell com>
 
 	* gtkhtml.c: (setup_class_properties), (next_uri),
Index: htmlselection.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlselection.c,v
retrieving revision 1.31
diff -u -r1.31 htmlselection.c
--- htmlselection.c	4 Jan 2005 12:47:33 -0000	1.31
+++ htmlselection.c	8 Mar 2006 12:52:17 -0000
@@ -353,7 +353,6 @@
 {
 	html_engine_edit_selection_updater_do_idle (e->selection_updater);
 	if (e->selection) {
-		g_return_val_if_fail (!html_engine_get_editable (e) || e->mark, FALSE);
 		return (!html_engine_get_editable (e) || e->mark) ? TRUE : FALSE;
 	}
 


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