diff options
author | Eion Robb <eion@robbmob.com> | 2011-08-23 09:55:25 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2011-08-23 09:55:25 +0400 |
commit | 9f35213ae0388631b714444aae460dbeda46b105 (patch) | |
tree | 1475d6b4372e7eae5f6613f8ab797bf61fda4cfe /skype_messaging.c | |
parent | a49b690ca4fe7d003a500233985e293c739377d1 (diff) |
Fix for the plugin not connecting to Skype on OSX. Big thanks to beau.croteau for narrowing down the problem to CFRunLoop :)
Diffstat (limited to 'skype_messaging.c')
-rw-r--r-- | skype_messaging.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/skype_messaging.c b/skype_messaging.c index aaa7bf3..c343bc7 100644 --- a/skype_messaging.c +++ b/skype_messaging.c @@ -207,8 +207,7 @@ char *skype_send_message(char *message_format, ...) g_thread_yield(); #ifdef __APPLE__ - RunCurrentEventLoop(0); - usleep(1000); + RunCurrentEventLoop(kEventDurationMillisecond); g_static_mutex_lock2(&mutex); if (timeout++ == 10000) |