aboutsummaryrefslogtreecommitdiffstats
path: root/tests/interactive/test-empathy-account-assistant.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/interactive/test-empathy-account-assistant.c')
-rw-r--r--tests/interactive/test-empathy-account-assistant.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/interactive/test-empathy-account-assistant.c b/tests/interactive/test-empathy-account-assistant.c
new file mode 100644
index 000000000..4f1c9a49b
--- /dev/null
+++ b/tests/interactive/test-empathy-account-assistant.c
@@ -0,0 +1,25 @@
+#include <config.h>
+
+#include <gtk/gtk.h>
+
+#include <libempathy-gtk/empathy-ui-utils.h>
+#include "empathy-account-assistant.h"
+
+int main (int argc, char **argv)
+{
+ GtkWidget *assistant;
+
+ gtk_init (&argc, &argv);
+ empathy_gtk_init ();
+
+ assistant = empathy_account_assistant_show (NULL);
+
+ gtk_widget_show_all (assistant);
+
+ g_signal_connect_swapped (assistant, "destroy",
+ G_CALLBACK (gtk_main_quit), NULL);
+
+ gtk_main ();
+
+ return 0;
+}