summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-defbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-defbox.c')
-rw-r--r--mate-dictionary/libgdict/gdict-defbox.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c
index 14972698..c71c6921 100644
--- a/mate-dictionary/libgdict/gdict-defbox.c
+++ b/mate-dictionary/libgdict/gdict-defbox.c
@@ -1145,7 +1145,7 @@ find_prev_clicked_cb (GtkWidget *widget,
if (priv->hide_timeout)
{
g_source_remove (priv->hide_timeout);
- priv->hide_timeout = g_timeout_add (5000, hide_find_pane, defbox);
+ priv->hide_timeout = g_timeout_add_seconds (5, hide_find_pane, defbox);
}
}
@@ -1239,7 +1239,7 @@ find_next_clicked_cb (GtkWidget *widget,
if (priv->hide_timeout)
{
g_source_remove (priv->hide_timeout);
- priv->hide_timeout = g_timeout_add (5000, hide_find_pane, defbox);
+ priv->hide_timeout = g_timeout_add_seconds (5, hide_find_pane, defbox);
}
}
@@ -1275,7 +1275,7 @@ find_entry_changed_cb (GtkWidget *widget,
if (priv->hide_timeout)
{
g_source_remove (priv->hide_timeout);
- priv->hide_timeout = g_timeout_add (5000, hide_find_pane, defbox);
+ priv->hide_timeout = g_timeout_add_seconds (5, hide_find_pane, defbox);
}
}
@@ -1755,7 +1755,7 @@ gdict_defbox_real_show_find (GdictDefbox *defbox)
gtk_widget_grab_focus (defbox->priv->find_entry);
- defbox->priv->hide_timeout = g_timeout_add (5000, hide_find_pane, defbox);
+ defbox->priv->hide_timeout = g_timeout_add_seconds (5, hide_find_pane, defbox);
}
static void
@@ -2128,7 +2128,7 @@ gdict_defbox_set_show_find (GdictDefbox *defbox,
gtk_widget_grab_focus (priv->find_entry);
if (!priv->hide_timeout)
- priv->hide_timeout = g_timeout_add (5000, hide_find_pane, defbox);
+ priv->hide_timeout = g_timeout_add_seconds (5, hide_find_pane, defbox);
}
else
{