5 #include <libempathy-gtk/empathy-ui-utils.h>
6 #include <libempathy-gtk/empathy-account-chooser.h>
9 filter_func (TpAccount
*account
,
12 g_assert (TP_IS_ACCOUNT (account
));
20 GtkWidget
*window
, *c
;
22 gtk_init (&argc
, &argv
);
25 window
= gtk_window_new (GTK_WINDOW_TOPLEVEL
);
26 c
= empathy_account_chooser_new ();
28 empathy_account_chooser_set_has_all_option (EMPATHY_ACCOUNT_CHOOSER (c
),
31 empathy_account_chooser_set_filter (EMPATHY_ACCOUNT_CHOOSER (c
),
34 gtk_container_add (GTK_CONTAINER (window
), c
);
36 /* gtk_window_set_default_size (GTK_WINDOW (window), 150, -1);*/
37 gtk_widget_show_all (window
);
39 g_signal_connect_swapped (window
, "destroy",
40 G_CALLBACK (gtk_main_quit
), NULL
);