[maemo-commits] [maemo-commits] r19399 - in projects/haf/branches/gconf2/harmattan: . gconf

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 30 17:36:00 EEST 2009
Author: marivoll
Date: 2009-09-30 17:35:53 +0300 (Wed, 30 Sep 2009)
New Revision: 19399

Modified:
   projects/haf/branches/gconf2/harmattan/ChangeLog
   projects/haf/branches/gconf2/harmattan/gconf/gconf-client.c
Log:
	* gconf/gconf-client.c (gconf_client_queue_notify): Use
	g_timeout_add instead g_idle_add to ensure that the notify
	callbacks are not starved by other callbacks.  (N138920)


Modified: projects/haf/branches/gconf2/harmattan/ChangeLog
===================================================================
--- projects/haf/branches/gconf2/harmattan/ChangeLog	2009-09-30 14:16:24 UTC (rev 19398)
+++ projects/haf/branches/gconf2/harmattan/ChangeLog	2009-09-30 14:35:53 UTC (rev 19399)
@@ -1,3 +1,9 @@
+2009-09-30  Marius Vollmer  <marius.vollmer at nokia.com>
+
+	* gconf/gconf-client.c (gconf_client_queue_notify): Use
+	g_timeout_add instead g_idle_add to ensure that the notify
+	callbacks are not starved by other callbacks.  (N138920)
+
 2009-07-23  Richard Hult  <richard at imendio.com>
 
 	* backends/markup-backend.c: Remove unused 5 minute timeout.

Modified: projects/haf/branches/gconf2/harmattan/gconf/gconf-client.c
===================================================================
--- projects/haf/branches/gconf2/harmattan/gconf/gconf-client.c	2009-09-30 14:16:24 UTC (rev 19398)
+++ projects/haf/branches/gconf2/harmattan/gconf/gconf-client.c	2009-09-30 14:35:53 UTC (rev 19399)
@@ -2432,7 +2432,7 @@
          client->pending_notify_count);
   
   if (client->notify_handler == 0)
-    client->notify_handler = g_idle_add (notify_idle_callback, client);
+    client->notify_handler = g_timeout_add (0, notify_idle_callback, client);
   
   client->notify_list = g_slist_prepend (client->notify_list, g_strdup (key));
   client->pending_notify_count += 1;

More information about the maemo-commits mailing list