aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-09-20 06:18:22 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-09-20 06:18:22 -0500
commit1ffd530753901cb424ddd64bc44b126296f33ca2 (patch)
treeb5e09e00a3896e1e2b4b1f837d6f0dbaedbdb993 /src
parent1a48f285e56954ba589cb4cb12d0fa7c0da558e8 (diff)
downloadayatana-indicator-datetime-1ffd530753901cb424ddd64bc44b126296f33ca2.tar.gz
ayatana-indicator-datetime-1ffd530753901cb424ddd64bc44b126296f33ca2.tar.bz2
ayatana-indicator-datetime-1ffd530753901cb424ddd64bc44b126296f33ca2.zip
move declaration of SKEW_CHECK_INTERVAL_SEC and SKEW_DIFF_THRESHOLD_SEC to the top of the file.
Diffstat (limited to 'src')
-rw-r--r--src/datetime-service.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index d2a9a63..8db3c73 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -52,6 +52,13 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "settings-shared.h"
#include "utils.h"
+enum {
+ /* how often to check for clock skew */
+ SKEW_CHECK_INTERVAL_SEC = 10,
+
+ SKEW_DIFF_THRESHOLD_SEC = SKEW_CHECK_INTERVAL_SEC + 5
+};
+
#ifdef HAVE_CCPANEL
#define SETTINGS_APP_INVOCATION "gnome-control-center indicator-datetime"
#else
@@ -1181,13 +1188,6 @@ day_timer_reset (void)
return;
}
-enum {
- /* how often to check for clock skew */
- SKEW_CHECK_INTERVAL_SEC = 10,
-
- SKEW_DIFF_THRESHOLD_SEC = SKEW_CHECK_INTERVAL_SEC + 5
-};
-
static gboolean
skew_check_timer_func (gpointer unused G_GNUC_UNUSED)
{