[MPlayer-cvslog] r25313 - in trunk/gui/win32: dialogs.c preferences.c
zuxy
subversion at mplayerhq.hu
Thu Dec 6 03:53:00 CET 2007
Author: zuxy
Date: Thu Dec 6 03:52:59 2007
New Revision: 25313
Log:
Do not PostQuitMessage when destroying a child window.
Modified:
trunk/gui/win32/dialogs.c
trunk/gui/win32/preferences.c
Modified: trunk/gui/win32/dialogs.c
==============================================================================
--- trunk/gui/win32/dialogs.c (original)
+++ trunk/gui/win32/dialogs.c Thu Dec 6 03:52:59 2007
@@ -350,7 +350,6 @@ static LRESULT CALLBACK OpenUrlWndProc(H
return 0;
case WM_DESTROY:
{
- PostQuitMessage (0);
addurl = 0;
return 0;
}
@@ -610,9 +609,6 @@ static LRESULT CALLBACK PlayListWndProc(
updatetracklist(hwnd);
}
break;
- case WM_DESTROY:
- PostQuitMessage(0);
- return 0;
}
return DefWindowProc(hwnd, iMsg, wParam, lParam);
}
@@ -737,9 +733,6 @@ static LRESULT CALLBACK SkinBrowserWndPr
}
}
return 0;
- case WM_DESTROY:
- PostQuitMessage(0);
- return 0;
}
return DefWindowProc(hwnd, iMsg, wParam, lParam);
}
@@ -872,9 +865,6 @@ static LRESULT CALLBACK TitleChapterWndP
}
}
return 0;
- case WM_DESTROY:
- PostQuitMessage (0);
- return 0;
}
return DefWindowProc(hwnd, iMsg, wParam, lParam);
}
@@ -1090,9 +1080,6 @@ static LRESULT CALLBACK EqWndProc(HWND h
}
}
return 0;
- case WM_DESTROY:
- PostQuitMessage (0);
- return 0;
}
return DefWindowProc(hwnd, iMsg, wParam, lParam);
}
Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c (original)
+++ trunk/gui/win32/preferences.c Thu Dec 6 03:52:59 2007
@@ -656,9 +656,6 @@ static LRESULT CALLBACK PrefsWndProc(HWN
}
return 0;
}
- case WM_DESTROY:
- PostQuitMessage (0);
- return 0;
}
return DefWindowProc(hwnd, iMsg, wParam, lParam);
}
More information about the MPlayer-cvslog
mailing list