summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-27 07:28:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-27 07:28:15 +0000
commit9d9a0ed0b2b6228a9b6e9206e19d3016b9bfb2ec (patch)
tree36b4ea66b6a583b5a1bc2b368b665b6fcb6020d5
parente54b4cd7f0c6fd272437e410f17238a6c94b1547 (diff)
old stubs removed completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@9959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Clist_blind/src/init.cpp23
1 files changed, 6 insertions, 17 deletions
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp
index cf5a47b5c7..d2302364e7 100644
--- a/plugins/Clist_blind/src/init.cpp
+++ b/plugins/Clist_blind/src/init.cpp
@@ -40,10 +40,6 @@ void LoadClcOptions(HWND hwnd, ClcData *dat, BOOL);
int GetRowHeight(ClcData *dat, int item);
void SortCLC(HWND hwnd, ClcData *dat, int useInsertionSort);
-int ( *pfnGetRowHeight )(ClcData *dat, int item);
-void ( *pfnSortCLC )( HWND hwnd, ClcData *dat, int useInsertionSort );
-
-
/////////////////////////////////////////////////////////////////////////////////////////
// external functions
@@ -663,11 +659,9 @@ void RebuildEntireList(HWND hwnd, ClcData *dat)
RebuildEntireListInternal(hwnd, dat, TRUE);
}
-void SetGroupExpand(HWND hwnd, ClcData *tmp_dat, struct ClcGroup *group, int newState)
+void SetGroupExpand(HWND hwnd, ClcData *dat, struct ClcGroup *group, int newState)
{
- ClcData *dat = (ClcData*)tmp_dat;
-
- coreCli.pfnSetGroupExpand(hwnd, tmp_dat, group, newState);
+ coreCli.pfnSetGroupExpand(hwnd, dat, group, newState);
dat->need_rebuild = TRUE;
}
@@ -687,21 +681,16 @@ void LoadClcOptions(HWND hwnd, ClcData *dat, BOOL bFirst)
dat->rowHeight = SendMessage(dat->hwnd_list, LB_GETITEMHEIGHT, 0, 0);
}
-int GetRowHeight(ClcData *tmp_dat, int item)
+int GetRowHeight(ClcData *dat, int item)
{
- ClcData *dat = (ClcData*)tmp_dat;
-
dat->rowHeight = SendMessage(dat->hwnd_list, LB_GETITEMHEIGHT, 0, 0);
return dat->rowHeight;
}
-void SortCLC(HWND hwnd, ClcData *tmp_dat, int useInsertionSort)
+void SortCLC(HWND hwnd, ClcData *dat, int useInsertionSort)
{
- if ( tmp_dat->needsResort )
- {
- ClcData *dat = (ClcData*)tmp_dat;
-
- pfnSortCLC(hwnd, tmp_dat, useInsertionSort);
+ if (dat->needsResort) {
+ coreCli.pfnSortCLC(hwnd, dat, useInsertionSort);
dat->need_rebuild = TRUE;
}
}