[empathy: 3/35] Connect ::response in test



commit f6b306beda8ade7053786826eb470005b42fea36
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Sun Feb 6 11:04:11 2011 +1100

    Connect ::response in test

 .../test-empathy-contact-blocking-dialog.c         |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/interactive/test-empathy-contact-blocking-dialog.c b/tests/interactive/test-empathy-contact-blocking-dialog.c
index b2038cb..11f199f 100644
--- a/tests/interactive/test-empathy-contact-blocking-dialog.c
+++ b/tests/interactive/test-empathy-contact-blocking-dialog.c
@@ -37,6 +37,9 @@ main (int argc,
 
     dialog = empathy_contact_blocking_dialog_new (NULL);
 
+    g_signal_connect_swapped (dialog, "response",
+        G_CALLBACK (gtk_main_quit), NULL);
+
     gtk_widget_show (dialog);
 
     gtk_main ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]