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. --- widgets/table/e-table-search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-search.c b/widgets/table/e-table-search.c index 7a51b62f1c..307d28de39 100644 --- a/widgets/table/e-table-search.c +++ b/widgets/table/e-table-search.c @@ -100,7 +100,7 @@ static void add_timeout (ETableSearch *ets) { drop_timeout (ets); - ets->priv->timeout_id = g_timeout_add (1000, ets_accept, ets); + ets->priv->timeout_id = g_timeout_add_seconds (1, ets_accept, ets); } static void -- cgit v1.2.3