diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-02-19 19:42:04 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-02-19 19:42:04 +0000 |
commit | 16ae019e454d2a7450c2346f43d6cbac7b3f17ab (patch) | |
tree | 17b9f64a94048e968044dce10a553219fdc5d121 /tests/testdnd.c | |
parent | c69d7c02d08a56ba852d4036033e62d106d6de4b (diff) | |
download | gtk+-16ae019e454d2a7450c2346f43d6cbac7b3f17ab.tar.gz |
Replace gtk_timeout_* by their GLib counterparts. (#106532)
2003-02-19 Matthias Clasen <maclas@gmx.de>
* tests/testdnd.c: Replace gtk_timeout_* by their GLib
counterparts. (#106532)
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r-- | tests/testdnd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c index 410ad242c6..8e4e9333a9 100644 --- a/tests/testdnd.c +++ b/tests/testdnd.c @@ -446,7 +446,7 @@ popup_motion (GtkWidget *widget, if (popdown_timer) { g_print ("removed popdown\n"); - gtk_timeout_remove (popdown_timer); + g_source_remove (popdown_timer); popdown_timer = 0; } } @@ -465,7 +465,7 @@ popup_leave (GtkWidget *widget, if (!popdown_timer) { g_print ("added popdown\n"); - popdown_timer = gtk_timeout_add (500, popdown_cb, NULL); + popdown_timer = g_timeout_add (500, popdown_cb, NULL); } } } @@ -514,7 +514,7 @@ popup_cb (gpointer data) popped_up = TRUE; } - popdown_timer = gtk_timeout_add (500, popdown_cb, NULL); + popdown_timer = g_timeout_add (500, popdown_cb, NULL); g_print ("added popdown\n"); popup_timer = FALSE; @@ -530,7 +530,7 @@ popsite_motion (GtkWidget *widget, guint time) { if (!popup_timer) - popup_timer = gtk_timeout_add (500, popup_cb, NULL); + popup_timer = g_timeout_add (500, popup_cb, NULL); return TRUE; } @@ -542,7 +542,7 @@ popsite_leave (GtkWidget *widget, { if (popup_timer) { - gtk_timeout_remove (popup_timer); + g_source_remove (popup_timer); popup_timer = 0; } } |