Mercurial > pidgin.yaz
comparison pidgin/win32/winpidgin.c @ 27782:9cd7892b2c8b
propagate from branch 'im.pidgin.pidgin' (head dfdceb0b08475c3e5750b3e6430d154e9a747d67)
to branch 'im.pidgin.pidgin.yaz' (head 7982395e45644f3f5d8b4a39018946e19ea9572f)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 04 Mar 2008 18:12:32 +0000 |
parents | 3370f295a1e0 |
children | 6bd3a83e9d8c |
comparison
equal
deleted
inserted
replaced
27781:11713f052640 | 27782:9cd7892b2c8b |
---|---|
454 if (fail_if_running) { | 454 if (fail_if_running) { |
455 HWND msg_win; | 455 HWND msg_win; |
456 | 456 |
457 printf("An instance of Pidgin is already running.\n"); | 457 printf("An instance of Pidgin is already running.\n"); |
458 | 458 |
459 if((msg_win = FindWindowEx(HWND_MESSAGE, NULL, TEXT("WinpidginMsgWinCls"), NULL))) | 459 if((msg_win = FindWindowEx(NULL, NULL, TEXT("WinpidginMsgWinCls"), NULL))) |
460 if(SendMessage(msg_win, PIDGIN_WM_FOCUS_REQUEST, (WPARAM) NULL, (LPARAM) NULL)) | 460 if(SendMessage(msg_win, PIDGIN_WM_FOCUS_REQUEST, (WPARAM) NULL, (LPARAM) NULL)) |
461 return FALSE; | 461 return FALSE; |
462 | 462 |
463 /* If we get here, the focus request wasn't successful */ | 463 /* If we get here, the focus request wasn't successful */ |
464 | 464 |