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.voll...@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  <rich...@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;

_______________________________________________
maemo-commits mailing list
maemo-commits@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits

Reply via email to