[Telepathy-commits] [telepathy-mission-control/master] Reduce the timeout value to half a second, and make it high priority
Alberto Mardegan
alberto.mardegan at nokia.com
Thu Feb 19 01:17:47 PST 2009
---
src/mcd-account-manager.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/mcd-account-manager.c b/src/mcd-account-manager.c
index 3e51bbb..00ef4e1 100644
--- a/src/mcd-account-manager.c
+++ b/src/mcd-account-manager.c
@@ -41,7 +41,7 @@
#include "mcd-dbusprop.h"
#include "_gen/interfaces.h"
-#define WRITE_CONF_DELAY 2000
+#define WRITE_CONF_DELAY 500
#define INITIAL_CONFIG_FILE_CONTENTS "# Telepathy accounts\n"
#define MCD_ACCOUNT_MANAGER_PRIV(account_manager) \
@@ -874,8 +874,9 @@ mcd_account_manager_write_conf (McdAccountManager *account_manager)
* McdAccountManager object running, since the write_conf_id is a static
* variable */
if (write_conf_id == 0)
- write_conf_id = g_timeout_add (WRITE_CONF_DELAY, write_conf,
- account_manager->priv->keyfile);
+ write_conf_id =
+ g_timeout_add_full (G_PRIORITY_HIGH, WRITE_CONF_DELAY, write_conf,
+ account_manager->priv->keyfile, NULL);
}
GHashTable *
--
1.5.6.5
More information about the telepathy-commits
mailing list