diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-02-09 03:23:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-09 03:23:43 +0800 |
commit | 887537b93f80cd1c0ca81f5a4a42d4373c27d0ba (patch) | |
tree | 663c1737ff5a779ca6cb8cc83f5f66f782ec4b55 /lib/widgets/ephy-spinner.c | |
parent | f465875a69cf6efa9d73011dfc88e6998ebcff8e (diff) | |
download | gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.tar gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.tar.gz gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.tar.bz2 gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.tar.lz gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.tar.xz gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.tar.zst gsoc2013-epiphany-887537b93f80cd1c0ca81f5a4a42d4373c27d0ba.zip |
Remove gtk_timeout_x calls. Hope I got all of them.
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.
Diffstat (limited to 'lib/widgets/ephy-spinner.c')
-rw-r--r-- | lib/widgets/ephy-spinner.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |