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 | |
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.
-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; |