Re: [evolution-patches] fix for stale idle handler.



That looks like it might be a composer bug, the attachment file was
full, I don't know why it came up empty.  Trying again.

--Larry

On Thu, 2003-05-01 at 15:40, Larry Ewing wrote:
> I could have sworn I looked over this code before but here is an obvious
> fix for a problem with the thaw_idle queuing.  JP has tested and
> verified that it fixed his problem.
> 
> 
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1787
diff -u -p -r1.1787 ChangeLog
--- ChangeLog	1 May 2003 16:41:22 -0000	1.1787
+++ ChangeLog	1 May 2003 20:40:35 -0000
@@ -1,3 +1,14 @@
+2003-05-01  Larry Ewing  <lewing ximian com>
+
+	* htmlengine.c (html_engine_thaw_idle_flush): actually remove the
+	idle function when we thaw.
+
+2003-05-01  Radek Doulik  <rodo ximian com>
+
+	* htmltext.c (calc_preferred_width): fix width calculation for
+	TABS, it fixes the min_width calculation of PRE flows as PRE flows
+	calculate theirs min width from child preffered width
+
 2003-04-30  Larry Ewing  <lewing ximian com>
 
 	* htmlengine.c (html_engine_draw_real): clip the bounds with
Index: htmlengine.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlengine.c,v
retrieving revision 1.538
diff -u -p -r1.538 htmlengine.c
--- htmlengine.c	1 May 2003 16:41:23 -0000	1.538
+++ htmlengine.c	1 May 2003 20:40:39 -0000
@@ -5055,8 +5055,10 @@ html_engine_thaw (HTMLEngine *engine)
 void
 html_engine_thaw_idle_flush (HTMLEngine *e)
 {
-	if (e->thaw_idle_id)
+	if (e->thaw_idle_id) {
+		g_source_remove (e->thaw_idle_id);
 		thaw_idle (e);
+	}
 }
 
 


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