projects
/
maevies
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a0a30f
)
Movie Info Provider test: Signal response-received
author
Simón Pena
<spenap@gmail.com>
Sun, 16 May 2010 16:59:00 +0000
(18:59 +0200)
committer
Simón Pena
<spenap@gmail.com>
Sun, 16 May 2010 17:31:55 +0000
(19:31 +0200)
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
patch
|
blob
|
history
diff --git
a/test/mvs-info-provider-test.c
b/test/mvs-info-provider-test.c
index
d0adfa1
..
10a63f7
100644
(file)
--- 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);