aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 2c7f96ed8..29df7128e 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -369,13 +369,13 @@ ephy_location_entry_key_press_event_cb (GtkWidget *entry, GdkEventKey *event, Ep
if (p->autocompletion_timeout != 0)
{
- gtk_timeout_remove (p->autocompletion_timeout);
+ g_source_remove (p->autocompletion_timeout);
p->autocompletion_timeout = 0;
}
if (p->show_alternatives_timeout != 0)
{
- gtk_timeout_remove (p->show_alternatives_timeout);
+ g_source_remove (p->show_alternatives_timeout);
p->show_alternatives_timeout = 0;
}