[empathy/gnome-2-34: 3/23] Connect ::response in test



commit f9a27436cb73c57ac0fce1fdcae5d50fb5a6c111
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]