aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel.c
diff options
context:
space:
mode:
authorMarcel Stimberg <marcelcoding@googlemail.com>2009-05-04 12:40:55 +0800
committerBharath Acharya <abharath@novell.com>2009-05-04 12:40:55 +0800
commit6e72a236dcb592a942881e118d6a71888ea1581b (patch)
treec4c3c8a45aa257efd819dea3a59c14c9c0b117b7 /calendar/gui/e-meeting-time-sel.c
parentfad86a267fd3c0ebc402ca67f14a0d2f74f57b74 (diff)
downloadgsoc2013-evolution-6e72a236dcb592a942881e118d6a71888ea1581b.tar.gz
gsoc2013-evolution-6e72a236dcb592a942881e118d6a71888ea1581b.tar.zst
gsoc2013-evolution-6e72a236dcb592a942881e118d6a71888ea1581b.zip
** 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.
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r--calendar/gui/e-meeting-time-sel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index a106a46d49..25c8a86b97 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -2918,7 +2918,7 @@ row_deleted_cb (GtkTreeModel *model, GtkTreePath *path, gpointer data)
}
-#define REFRESH_PAUSE 5000
+#define REFRESH_PAUSE 5
static gboolean
free_busy_timeout_refresh (gpointer data)
@@ -2952,7 +2952,7 @@ free_busy_template_changed_cb (GConfClient *client,
g_source_remove (mts->fb_refresh_not);
}
- mts->fb_refresh_not = g_timeout_add (REFRESH_PAUSE,
+ mts->fb_refresh_not = g_timeout_add_seconds (REFRESH_PAUSE,
free_busy_timeout_refresh,
data);
}