]> git.0d.be Git - empathy.git/blob - tests/contact-manager.c
Fix warnings when finalizing.
[empathy.git] / tests / contact-manager.c
1 #include <stdlib.h>
2
3 #include <gtk/gtk.h>
4 #include <libempathy/empathy-contact-manager.h>
5
6 static gboolean
7 time_out (gpointer data)
8 {
9         gtk_main_quit ();
10
11         return FALSE;
12 }
13
14 int
15 main (int argc, char **argv)
16 {
17         EmpathyContactManager *manager;
18
19         gtk_init (&argc, &argv);
20
21         manager = empathy_contact_manager_new ();
22         
23         g_timeout_add (5000, time_out, NULL);
24
25         gtk_main ();
26         
27         g_object_unref (manager);
28
29         return EXIT_SUCCESS;
30 }