aboutsummaryrefslogtreecommitdiffstats
path: root/tests/contact-manager.c
blob: c9450105a27d24d3c6615a1aa470e5c21c03ecfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <stdlib.h>

#include <gtk/gtk.h>
#include <libempathy/empathy-contact-manager.h>

static gboolean
time_out (gpointer data)
{
    gtk_main_quit ();

    return FALSE;
}

int
main (int argc, char **argv)
{
    EmpathyContactManager *manager;

    gtk_init (&argc, &argv);

    manager = empathy_contact_manager_new ();
    
    g_timeout_add (5000, time_out, NULL);

    gtk_main ();
    
    g_object_unref (manager);

    return EXIT_SUCCESS;
}