aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-nm.c2
-rw-r--r--shell/e-shell-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-nm.c b/shell/e-shell-nm.c
index 5162aa5fea..f7e4d3e63b 100644
--- a/shell/e-shell-nm.c
+++ b/shell/e-shell-nm.c
@@ -71,7 +71,7 @@ e_shell_network_monitor (DBusConnection *connection G_GNUC_UNUSED,
dbus_connection_unref (dbus_connection);
dbus_connection = NULL;
- g_timeout_add (3000, reinit_dbus, shell);
+ g_timeout_add_seconds (3, reinit_dbus, shell);
return DBUS_HANDLER_RESULT_HANDLED;
}
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 516df0cfdb..9d6905203b 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -924,7 +924,7 @@ impl_size_alloc (GtkWidget* widget, GtkAllocation* alloc)
if (GTK_WIDGET_REALIZED(widget) && !(gdk_window_get_state(widget->window) & GDK_WINDOW_STATE_MAXIMIZED)) {
/* update the size storage timer */
- self->priv->store_window_size_timer = g_timeout_add (1000, (GSourceFunc)store_window_size, self);
+ self->priv->store_window_size_timer = g_timeout_add_seconds (1, (GSourceFunc)store_window_size, self);
}
if (GTK_WIDGET_CLASS (e_shell_window_parent_class)->size_allocate) {