From 825f3ea4dbd5f431cc8cdb723aac93c88e9b8608 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sim=C3=B3n=20Pena?= Date: Sun, 16 May 2010 18:59:00 +0200 Subject: [PATCH] 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. --- test/mvs-info-provider-test.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.7.9.5