aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c4
-rw-r--r--lib/widgets/ephy-spinner.c10
2 files changed, 7 insertions, 7 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;
}
diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c
index 9bd4c0988..f89bd6ef0 100644
--- a/lib/widgets/ephy-spinner.c
+++ b/lib/widgets/ephy-spinner.c
@@ -335,21 +335,21 @@ ephy_spinner_start (EphySpinner *spinner)
}
if (spinner->details->timer_task != 0) {
- gtk_timeout_remove (spinner->details->timer_task);
+ g_source_remove (spinner->details->timer_task);
}
/* reset the frame count */
spinner->details->current_frame = 0;
- spinner->details->timer_task = gtk_timeout_add (spinner->details->delay,
- bump_spinner_frame,
- spinner);
+ spinner->details->timer_task = g_timeout_add (spinner->details->delay,
+ bump_spinner_frame,
+ spinner);
}
static void
ephy_spinner_remove_update_callback (EphySpinner *spinner)
{
if (spinner->details->timer_task != 0) {
- gtk_timeout_remove (spinner->details->timer_task);
+ g_source_remove (spinner->details->timer_task);
}
spinner->details->timer_task = 0;