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/gtkclist.c | |
parent | 5fbf845d5cf155e0034c8ad81ffdd70229442705 (diff) | |
download | gdk-pixbuf-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/gtkclist.c')
-rw-r--r-- | gtk/gtkclist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 40b0ea5d1..1a43ce515 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -5287,7 +5287,7 @@ gtk_clist_motion (GtkWidget *widget, if (clist->htimer) return FALSE; - clist->htimer = gtk_timeout_add + clist->htimer = g_timeout_add (SCROLL_TIME, (GtkFunction) horizontal_timeout, clist); if (!((x < 0 && clist->hadjustment->value == 0) || @@ -5319,8 +5319,8 @@ gtk_clist_motion (GtkWidget *widget, if (clist->vtimer) return FALSE; - clist->vtimer = gtk_timeout_add (SCROLL_TIME, - (GtkFunction) vertical_timeout, clist); + clist->vtimer = g_timeout_add (SCROLL_TIME, + (GtkFunction) vertical_timeout, clist); if (clist->drag_button && ((y < 0 && clist->focus_row == 0) || @@ -7101,13 +7101,13 @@ remove_grab (GtkCList *clist) if (clist->htimer) { - gtk_timeout_remove (clist->htimer); + g_source_remove (clist->htimer); clist->htimer = 0; } if (clist->vtimer) { - gtk_timeout_remove (clist->vtimer); + g_source_remove (clist->vtimer); clist->vtimer = 0; } } |