From: Simón Pena Date: Sun, 16 May 2010 16:59:00 +0000 (+0200) Subject: Movie Info Provider test: Signal response-received X-Git-Url: http://git.maemo.org/git/?p=maevies;a=commitdiff_plain;h=825f3ea4dbd5f431cc8cdb723aac93c88e9b8608 Movie Info Provider test: Signal response-received The "response-received" signal is connected, so that when we get a response for the query, the main loop is left. --- diff --git a/test/mvs-info-provider-test.c b/test/mvs-info-provider-test.c index d0adfa1..10a63f7 100644 --- a/test/mvs-info-provider-test.c +++ b/test/mvs-info-provider-test.c @@ -42,6 +42,9 @@ main (int argc, char **argv) g_thread_init (NULL); minfo_provider = mvs_minfo_provider_new (); + g_signal_connect (minfo_provider, "response-received", + G_CALLBACK (response_received_callback), NULL); + movie_info = mvs_movie_info_new (); loop = g_main_loop_new (NULL, FALSE);