diff --git a/tests/examples/jack/jack_client.c b/tests/examples/jack/jack_client.c index 99599ab5cb..969ceda9c4 100644 --- a/tests/examples/jack/jack_client.c +++ b/tests/examples/jack/jack_client.c @@ -68,7 +68,7 @@ main (int argc, char **argv) } /* quit after 5 seconds */ - g_timeout_add (5000, (GSourceFunc) quit_cb, NULL); + g_timeout_add_seconds (5, (GSourceFunc) quit_cb, NULL); gtk_main (); /* clean up */ diff --git a/tests/examples/rtp/server-alsasrc-PCMA.c b/tests/examples/rtp/server-alsasrc-PCMA.c index 8d10932146..4690eed45c 100644 --- a/tests/examples/rtp/server-alsasrc-PCMA.c +++ b/tests/examples/rtp/server-alsasrc-PCMA.c @@ -212,7 +212,7 @@ main (int argc, char *argv[]) gst_element_set_state (pipeline, GST_STATE_PLAYING); /* print stats every second */ - g_timeout_add (1000, (GSourceFunc) print_stats, rtpbin); + g_timeout_add_seconds (1, (GSourceFunc) print_stats, rtpbin); /* we need to run a GLib main loop to get the messages */ loop = g_main_loop_new (NULL, FALSE); diff --git a/tests/icles/ximagesrc-test.c b/tests/icles/ximagesrc-test.c index 4873046a83..fdcc580eee 100644 --- a/tests/icles/ximagesrc-test.c +++ b/tests/icles/ximagesrc-test.c @@ -60,7 +60,7 @@ main (int argc, char **argv) } /* We want to get out after 5 seconds */ - g_timeout_add (5000, (GSourceFunc) terminate_playback, pipeline); + g_timeout_add_seconds (5, (GSourceFunc) terminate_playback, pipeline); g_main_loop_run (loop);