diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 4 | ||||
-rw-r--r-- | lib/widgets/ephy-spinner.c | 10 |
3 files changed, 16 insertions, 7 deletions
@@ -1,3 +1,12 @@ +2003-02-08 Marco Pesenti Gritti <marco@it.gnome.org> + + * lib/widgets/ephy-location-entry.c: + (ephy_location_entry_key_press_event_cb): + * lib/widgets/ephy-spinner.c: (ephy_spinner_start), + (ephy_spinner_remove_update_callback): + + Remove gtk_timeout_x calls. Hope I got all of them. + 2003-02-08 Xan Lopez <xan@masilla.org> * src/ephy-shell.c: 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; |