diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-28 11:27:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-28 11:27:27 +0000 |
commit | 7c2e75f14ad9dd186a85b17587c21c2561286581 (patch) | |
tree | fcd4db66a9b149cb7ee480a89d3f20582bea2823 /plugins/Clist_modern/src/modern_clui.cpp | |
parent | 01433b81e943d57b1ec2ebb5758bd2a85d836753 (diff) |
- 2nd & 3rd lines handling unification;
- no need to copy data to make async calls;
- no need to launch a thread to save a couple of msecs on a very large roster;
- unused code & params cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clui.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index 98a383166a..d2d3919cc2 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -1227,23 +1227,6 @@ int CLUI_SizingGetWindowRect(HWND hwnd, RECT *rc) }
-int CLUI_SyncGetPDNCE(WPARAM wParam, LPARAM lParam)
-{
- return CListSettings_GetCopyFromCache((ClcCacheEntry *)lParam, wParam ? (DWORD)wParam : CCI_ALL);
-}
-
-int CLUI_SyncSetPDNCE(WPARAM wParam, LPARAM lParam)
-{
- return CListSettings_SetToCache((ClcCacheEntry *)lParam, wParam ? (DWORD)wParam : CCI_ALL);
-}
-
-int CLUI_SyncGetShortData(WPARAM wParam, LPARAM lParam)
-{
- HWND hwnd = (HWND)wParam;
- ClcData *dat = (ClcData *)GetWindowLongPtr(hwnd, 0);
- return ClcGetShortData(dat, (SHORTDATA*)lParam);
-}
-
int CLUI_IconsChanged(WPARAM, LPARAM)
{
if (MirandaExiting())
@@ -2544,9 +2527,6 @@ LRESULT CLUI::OnDestroy(UINT, WPARAM, LPARAM) if (amWakeThread())
wait = TRUE;
- if (gtaWakeThread())
- wait = TRUE;
-
if (wait) {
//need to give them a little time to exit.
Sleep(50);
|