diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2003-02-05 23:48:11 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-02-05 23:48:11 +0000 |
commit | b414adc89751bdf24eb4d29c63395d7d3b767c6a (patch) | |
tree | 2bb46061805eef9dac10f2c0d36c7a583c71e430 /gtk/gtktooltips.c | |
parent | 5fbf845d5cf155e0034c8ad81ffdd70229442705 (diff) | |
download | gtk+-b414adc89751bdf24eb4d29c63395d7d3b767c6a.tar.gz |
Replace uses of gtk_timeout_* and gtk_idle_* by their non-deprecated
GLib counterparts. Fully deprecate gtk_timeout_* and gtk_idle_*.
Diffstat (limited to 'gtk/gtktooltips.c')
-rw-r--r-- | gtk/gtktooltips.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c index d3144621df..82e9d32bdc 100644 --- a/gtk/gtktooltips.c +++ b/gtk/gtktooltips.c @@ -189,7 +189,7 @@ gtk_tooltips_destroy (GtkObject *object) if (tooltips->timer_tag) { - gtk_timeout_remove (tooltips->timer_tag); + g_source_remove (tooltips->timer_tag); tooltips->timer_tag = 0; } @@ -478,7 +478,7 @@ gtk_tooltips_set_active_widget (GtkTooltips *tooltips, } if (tooltips->timer_tag) { - gtk_timeout_remove (tooltips->timer_tag); + g_source_remove (tooltips->timer_tag); tooltips->timer_tag = 0; } @@ -607,9 +607,9 @@ gtk_tooltips_start_delay (GtkTooltips *tooltips, delay = STICKY_DELAY; else delay = tooltips->delay; - tooltips->timer_tag = gtk_timeout_add (delay, - gtk_tooltips_timeout, - (gpointer) tooltips); + tooltips->timer_tag = g_timeout_add (delay, + gtk_tooltips_timeout, + (gpointer) tooltips); } } |