From 0ddbfabe32f0d02a63a21fca5bfb015f4e56bf97 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 6 Jul 2009 11:29:55 +0100 Subject: Transform profile chooser into a protocol chooser --- tests/test-empathy-protocol-chooser.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/test-empathy-protocol-chooser.c (limited to 'tests/test-empathy-protocol-chooser.c') diff --git a/tests/test-empathy-protocol-chooser.c b/tests/test-empathy-protocol-chooser.c new file mode 100644 index 000000000..07b1c70e1 --- /dev/null +++ b/tests/test-empathy-protocol-chooser.c @@ -0,0 +1,31 @@ +#include + +#include + +#include +#include + +int +main (int argc, + char **argv) +{ + GtkWidget *window; + GtkWidget *chooser; + + gtk_init (&argc, &argv); + empathy_gtk_init (); + + window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + chooser = empathy_protocol_chooser_new (); + gtk_container_add (GTK_CONTAINER (window), chooser); + + /* gtk_window_set_default_size (GTK_WINDOW (window), 150, -1);*/ + gtk_widget_show_all (window); + + g_signal_connect_swapped (window, "destroy", + G_CALLBACK (gtk_main_quit), NULL); + + gtk_main (); + + return 0; +} -- cgit v1.2.3