[evolution-patches] patch for the e-table invisible bug



Rodney,  Rodrigo and JP,
I investigated this bug for the whole day and finally found the reason. One of Evolution's thread was consuming all the CPUs because it run the idle function without stopping. I think it has no time to draw the widgets.
   Please review the attached patch. Thanks!
      Harry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/ChangeLog,v
retrieving revision 1.226
diff -u -r1.226 ChangeLog
--- ChangeLog	1 Feb 2005 21:01:01 -0000	1.226
+++ ChangeLog	3 Feb 2005 11:22:00 -0000
@@ -1,3 +1,8 @@
+2005-02-03  Harry Lu  <harry lu sun com>
+
+	* libedataserver/e-categories.c: (idle_saver_cb): idle
+	callback should return gboolean.
+
 2005-02-01  Jeffrey Stedfast  <fejj novell com>
 
 	* configure.in: Generate the old imap makefile.
Index: libedataserver/e-categories.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-categories.c,v
retrieving revision 1.9
diff -u -r1.9 e-categories.c
--- libedataserver/e-categories.c	28 Jan 2005 15:57:39 -0000	1.9
+++ libedataserver/e-categories.c	3 Feb 2005 11:22:15 -0000
@@ -121,7 +121,7 @@
 	*str = g_string_append (*str, "/>");
 }
 
-static void
+static gboolean
 idle_saver_cb (gpointer user_data)
 {
 	if (conf_is_dirty) {
@@ -135,6 +135,8 @@
 
 		conf_is_dirty = FALSE;
 	}
+
+	return FALSE;
 }
 
 static void


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