From 6e72a236dcb592a942881e118d6a71888ea1581b Mon Sep 17 00:00:00 2001 From: Marcel Stimberg Date: Mon, 4 May 2009 10:10:55 +0530 Subject: ** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_add According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a timeout in seconds is desired. --- shell/e-shell-nm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-shell-nm.c') 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; } -- cgit