[gnome-bluetooth] lib: fix Close button for "test-deviceselection phone"



commit 4e5f565654fda0bba840fe98478e6c48f151f1a3
Author: Daniele Forsi <dforsi src gnome org>
Date:   Tue Apr 24 19:15:17 2012 +0200

    lib: fix Close button for "test-deviceselection phone"

 lib/test-deviceselection.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/test-deviceselection.c b/lib/test-deviceselection.c
index 2c5d915..6372714 100644
--- a/lib/test-deviceselection.c
+++ b/lib/test-deviceselection.c
@@ -125,6 +125,9 @@ create_phone_dialogue (const char *bdaddr)
 	gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
 			    button, TRUE, TRUE, 0);
 
+	g_signal_connect (G_OBJECT (dialog), "response",
+			  G_CALLBACK (gtk_main_quit), NULL);
+
 	return dialog;
 }
 



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