aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-search.c2
-rw-r--r--widgets/text/e-text.c2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index f15317b01e..0890b46243 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -2460,7 +2460,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
{
if ( text->tooltip_count == 0 && text->clip) {
if (!text->tooltip_timeout)
- text->tooltip_timeout = g_timeout_add (2000, _do_tooltip, text);
+ text->tooltip_timeout = g_timeout_add_seconds (2, _do_tooltip, text);
}
text->tooltip_count ++;
}