aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-logger.c')
-rw-r--r--e-util/e-logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-logger.c b/e-util/e-logger.c
index 9db0ca0e37..0a458b7444 100644
--- a/e-util/e-logger.c
+++ b/e-util/e-logger.c
@@ -36,7 +36,7 @@
#include "e-mktemp.h"
/* 5 Minutes */
-#define TIMEOUT_INTERVAL 300000
+#define TIMEOUT_INTERVAL 300
#define E_LOGGER_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
@@ -219,7 +219,7 @@ set_dirty (ELogger *logger)
if (logger->priv->timer)
return;
- logger->priv->timer = g_timeout_add (
+ logger->priv->timer = g_timeout_add_seconds (
TIMEOUT_INTERVAL, (GSourceFunc) flush_logfile, logger);
}