aboutsummaryrefslogblamecommitdiffstats
path: root/tests/test-empathy-protocol-chooser.c
blob: 90b1797a3e5b211d28751481d76ec9558018e062 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                            
                                                    




                
                        




                                                


                                                










                                                                   
#include <config.h>

#include <gtk/gtk.h>

#include <libempathy-gtk/empathy-ui-utils.h>
#include <libempathy-gtk/empathy-protocol-chooser.h>

int
main (int argc,
    char **argv)
{
  GtkWidget *window, *c;

  gtk_init (&argc, &argv);
  empathy_gtk_init ();

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  c = empathy_protocol_chooser_new ();

  gtk_container_add (GTK_CONTAINER (window), c);

  /*  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;
}