Help: Use stable 'if' namespace instead of experimental
[empathy-mirror.git] / tests / interactive / test-empathy-protocol-chooser.c
blobca548a85bc925a8b93339003fc4c71f6a3559b34
1 #include "config.h"
3 #include <gtk/gtk.h>
5 #include "empathy-protocol-chooser.h"
6 #include "empathy-ui-utils.h"
8 int
9 main (int argc,
10 char **argv)
12 GtkWidget *window, *c;
14 gtk_init (&argc, &argv);
15 empathy_gtk_init ();
17 window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
18 c = empathy_protocol_chooser_new ();
20 gtk_container_add (GTK_CONTAINER (window), c);
22 /* gtk_window_set_default_size (GTK_WINDOW (window), 150, -1);*/
23 gtk_widget_show_all (window);
25 g_signal_connect_swapped (window, "destroy",
26 G_CALLBACK (gtk_main_quit), NULL);
28 gtk_main ();
30 return 0;