diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-23 23:29:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-23 23:29:25 +0300 |
commit | 176e52e14fd0358a7f26ca8d7b0205244dfde2e7 (patch) | |
tree | 10da2f8951d20103af0215c38d07ea96ba61c191 /plugins/MirandaG15 | |
parent | 91b13500b47a51f3a284d9f409b7b8dac167a06d (diff) |
no need to initialize pcli variable in each plugin (only in Clist_*)
Diffstat (limited to 'plugins/MirandaG15')
-rw-r--r-- | plugins/MirandaG15/src/CAppletManager.cpp | 2 | ||||
-rw-r--r-- | plugins/MirandaG15/src/Miranda.cpp | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/plugins/MirandaG15/src/CAppletManager.cpp b/plugins/MirandaG15/src/CAppletManager.cpp index 92b1fe1170..5580aa8c92 100644 --- a/plugins/MirandaG15/src/CAppletManager.cpp +++ b/plugins/MirandaG15/src/CAppletManager.cpp @@ -796,7 +796,7 @@ bool CAppletManager::IsMessageWindowOpen(MCONTACT hContact) void CAppletManager::MarkMessageAsRead(MCONTACT hContact, MEVENT hEvent) { db_event_markRead(hContact, hEvent); - pcli->pfnRemoveEvent(hContact, hEvent); + g_CLI.pfnRemoveEvent(hContact, hEvent); } //************************************************************************ diff --git a/plugins/MirandaG15/src/Miranda.cpp b/plugins/MirandaG15/src/Miranda.cpp index 6333d41c53..90cd6fcede 100644 --- a/plugins/MirandaG15/src/Miranda.cpp +++ b/plugins/MirandaG15/src/Miranda.cpp @@ -59,7 +59,6 @@ bool g_bInitialized; // Plugin Information
CMPlugin g_plugin;
-CLIST_INTERFACE *pcli;
// Function Prototypes
int Init(WPARAM, LPARAM);
@@ -92,8 +91,6 @@ CMPlugin::CMPlugin() : EXTERN_C int __declspec(dllexport) Load()
{
- pcli = Clist_GetInterface();
-
g_bInitialized = false;
InitDebug();
|