diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-27 21:32:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-27 21:32:12 +0300 |
commit | 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch) | |
tree | ae387e1079fe63cea4d928a0e2564f218836d548 /protocols/Gadu-Gadu/src | |
parent | ea45fcc6216051c084a762a8fd2d170e095bb1ba (diff) |
fix for a function name:
Clist_IsHidden => Contact_IsHidden
Clist_HideContact => Contact_Hide
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r-- | protocols/Gadu-Gadu/src/core.cpp | 4 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/src/gg.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp index 3a2644f0b6..4e3135be50 100644 --- a/protocols/Gadu-Gadu/src/core.cpp +++ b/protocols/Gadu-Gadu/src/core.cpp @@ -1317,7 +1317,7 @@ int GaduProto::dbsettingchanged(WPARAM hContact, LPARAM lParam) // If not on list changed
if (!strcmp(cws->szSetting, "NotOnList"))
{
- if (Clist_IsHidden(hContact))
+ if (Contact_IsHidden(hContact))
return 0;
// Notify user normally this time if added to the list permanently
@@ -1461,7 +1461,7 @@ MCONTACT GaduProto::getcontact(uin_t uin, int create, int inlist, wchar_t *szNic if ((uin_t)getDword(hContact, GG_KEY_UIN, 0) == uin && !isChatRoom(hContact)) {
if (inlist) {
db_unset(hContact, "CList", "NotOnList");
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
}
return hContact;
}
diff --git a/protocols/Gadu-Gadu/src/gg.h b/protocols/Gadu-Gadu/src/gg.h index 5f88e07527..2da3bbb811 100644 --- a/protocols/Gadu-Gadu/src/gg.h +++ b/protocols/Gadu-Gadu/src/gg.h @@ -43,7 +43,7 @@ // Miranda NG headers
#include <newpluginapi.h>
-#include <m_system.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_netlib.h>
#include <m_protocols.h>
|