diff options
Diffstat (limited to 'skype_messaging_win32.c')
-rw-r--r-- | skype_messaging_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_messaging_win32.c b/skype_messaging_win32.c index 263a0f3..cd69d6b 100644 --- a/skype_messaging_win32.c +++ b/skype_messaging_win32.c @@ -167,7 +167,7 @@ Skype_WindowProc(HWND hWindow, UINT uiMessage, WPARAM uiParam, LPARAM ulParam) if(uiMessage == WM_COPYDATA && hGlobal_SkypeAPIWindowHandle == (HWND)uiParam) { PCOPYDATASTRUCT poCopyData = (PCOPYDATASTRUCT)ulParam; - g_thread_create((GThreadFunc)skype_message_received, (void *)g_strdup(poCopyData->lpData), FALSE, NULL); + skype_message_received(g_strdup(poCopyData->lpData)); return 1; } else if (uiMessage == uiGlobal_MsgID_SkypeControlAPIAttach) { skype_debug_info("skype_win32", "Attached process %d %d\n", uiParam, ulParam); |