aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-09 03:23:43 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-09 03:23:43 +0800
commit887537b93f80cd1c0ca81f5a4a42d4373c27d0ba (patch)
tree663c1737ff5a779ca6cb8cc83f5f66f782ec4b55 /lib/widgets
parentf465875a69cf6efa9d73011dfc88e6998ebcff8e (diff)
downloadgsoc2013-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')
-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;