From b28083bc8180dbbec6a544cd058bf586b1f8adbc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 7 Jun 2013 21:07:19 +0000 Subject: useless stubs removed git-svn-id: http://svn.miranda-ng.org/main/trunk@4900 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_mw/src/contact.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/Clist_mw') diff --git a/plugins/Clist_mw/src/contact.cpp b/plugins/Clist_mw/src/contact.cpp index a45d7152c8..4015a1b997 100644 --- a/plugins/Clist_mw/src/contact.cpp +++ b/plugins/Clist_mw/src/contact.cpp @@ -154,20 +154,11 @@ int CompareContacts( const struct ClcContact *contact1, const struct ClcContact #undef SAFESTRING -static UINT_PTR resortTimerId = 0; -static VOID CALLBACK SortContactsTimer(HWND hwnd,UINT message,UINT_PTR idEvent,DWORD dwTime) -{ - KillTimer(NULL,resortTimerId); - resortTimerId = 0; -} - void SortContacts(void) { //avoid doing lots of resorts in quick succession sortByStatus = db_get_b(NULL,"CList","SortByStatus",SETTING_SORTBYSTATUS_DEFAULT); sortByProto = db_get_b(NULL,"CList","SortByProto",SETTING_SORTBYPROTO_DEFAULT); - if (resortTimerId) KillTimer(NULL,resortTimerId); - resortTimerId = SetTimer(NULL,0,50,SortContactsTimer); } INT_PTR ContactChangeGroup(WPARAM wParam,LPARAM lParam) -- cgit v1.2.3