* Rewritten some async calls
[modest] / tests / check_update-account.c
index 87b3862..6290707 100644 (file)
@@ -105,14 +105,6 @@ func (gpointer_data)
        return FALSE;
 }
 
-static void
-quit (gpointer data) 
-{
-       _exit (0);
-}
-
-
-
 int
 main (int argc, char **argv)
 {   
@@ -124,8 +116,6 @@ main (int argc, char **argv)
        main_loop = g_main_loop_new (NULL, FALSE);
         id = g_timeout_add(1000, func, main_loop);
 
-       g_timeout_add (5000, quit, main_loop); /* quit after 5 seconds */
-
        g_main_loop_run(main_loop);
 
        return 0;