im.pidgin.pidgin: fe00ca8a057e772d955ff56c7b6557e221d3e514

datallah at pidgin.im datallah at pidgin.im
Thu Oct 18 17:05:36 EDT 2007


-----------------------------------------------------------------
Revision: fe00ca8a057e772d955ff56c7b6557e221d3e514
Ancestor: 1e8c3f6ec50a7e8ea15b850e7e2974e273c1cb6c
Author: datallah at pidgin.im
Date: 2007-10-18T21:00:06
Branch: im.pidgin.pidgin

Modified files:
        pidgin/win32/winpidgin.c

ChangeLog: 

Print debugging output when the win32 launcher gives up because Pidgin is already running.

-------------- next part --------------
============================================================
--- pidgin/win32/winpidgin.c	ce5243016c574a3fffc3417f85c448aabf04c740
+++ pidgin/win32/winpidgin.c	ae92b5edd15c7939147b474ef43357b59b223f93
@@ -452,6 +452,8 @@ static BOOL winpidgin_set_running() {
 		if (GetLastError() == ERROR_ALREADY_EXISTS) {
 			HWND msg_win;
 
+			printf("An instance of Pidgin is already running.\n");
+
 			if((msg_win = FindWindow(TEXT("WinpidginMsgWinCls"), NULL)))
 				if(SendMessage(msg_win, PIDGIN_WM_FOCUS_REQUEST, (WPARAM) NULL, (LPARAM) NULL))
 					return FALSE;


More information about the Commits mailing list