From 887537b93f80cd1c0ca81f5a4a42d4373c27d0ba Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 8 Feb 2003 19:23:43 +0000 Subject: Remove gtk_timeout_x calls. Hope I got all of them. 2003-02-08 Marco Pesenti Gritti * 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. --- lib/widgets/ephy-spinner.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/widgets/ephy-spinner.c') 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; -- cgit v1.2.3