aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-logger.c2
-rw-r--r--e-util/gconf-bridge.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-logger.c b/e-util/e-logger.c
index 88f3a24327..97d27d03cf 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 \
diff --git a/e-util/gconf-bridge.c b/e-util/gconf-bridge.c
index 4ab0f59646..852d5f8f53 100644
--- a/e-util/gconf-bridge.c
+++ b/e-util/gconf-bridge.c
@@ -645,8 +645,8 @@ window_binding_perform_scheduled_sync (WindowBinding *binding)
return FALSE;
}
-#define WINDOW_BINDING_SYNC_DELAY 1000 /* Delay before syncing new window
- dimensions to GConf, in ms */
+#define WINDOW_BINDING_SYNC_DELAY 1 /* Delay before syncing new window
+ dimensions to GConf, in s */
/* Called when the window han been resized or moved */
static gboolean
@@ -657,7 +657,7 @@ window_binding_configure_event_cb (GtkWindow *window,
/* Schedule a sync */
if (binding->sync_timeout_id == 0) {
binding->sync_timeout_id =
- g_timeout_add (WINDOW_BINDING_SYNC_DELAY,
+ g_timeout_add_seconds (WINDOW_BINDING_SYNC_DELAY,
(GSourceFunc)
window_binding_perform_scheduled_sync,
binding);