[evolution-rss] Use g_usleep instead of sleep to make windows builders happy



commit 7c5765ed9d0e29625bd050c05245544d209595c1
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Fri Mar 12 10:59:46 2010 +0100

    Use g_usleep instead of sleep to make windows builders happy

 src/evolution-import-rss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/evolution-import-rss.c b/src/evolution-import-rss.c
index 04cc17a..63b4b0e 100644
--- a/src/evolution-import-rss.c
+++ b/src/evolution-import-rss.c
@@ -182,7 +182,7 @@ main (int argc, char *argv[])
 	{
 		system("evolution&");
 		g_print("fireing evolution...\n");
-		sleep(30);
+		g_usleep(30);
         	send_dbus_ping ();
 		g_timeout_add (EVOLUTION_PING_TIMEOUT, err_evo_cb, GINT_TO_POINTER(i++));
 		g_main_loop_run(loop);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]