diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-22 19:10:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-22 19:10:43 +0000 |
commit | 721c3bc10182cacf1a98baddde3c94e59797ddb7 (patch) | |
tree | 78b2e3ae3c00133a58f09653aff664e4ab0305e9 /tests/testentrycompletion.c | |
parent | 7854bd1b6e6102aff426bf6a48606c4a9b12b7c2 (diff) | |
download | gtk+-721c3bc10182cacf1a98baddde3c94e59797ddb7.tar.gz |
Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* *.c: Replace a lot of idle and timeout calls by
the new gdk_threads api.
Diffstat (limited to 'tests/testentrycompletion.c')
-rw-r--r-- | tests/testentrycompletion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c index a0cf7d7752..483010b1f9 100644 --- a/tests/testentrycompletion.c +++ b/tests/testentrycompletion.c @@ -417,7 +417,7 @@ main (int argc, char *argv[]) gtk_entry_completion_set_text_column (completion, 0); /* Fill the completion dynamically */ - g_timeout_add (1000, (GSourceFunc) animation_timer, completion); + gdk_threads_add_timeout (1000, (GSourceFunc) animation_timer, completion); /* Fourth entry */ gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Model-less entry completion"), FALSE, FALSE, 0); |