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/Weather | |
parent | ea45fcc6216051c084a762a8fd2d170e095bb1ba (diff) |
fix for a function name:
Clist_IsHidden => Contact_IsHidden
Clist_HideContact => Contact_Hide
Diffstat (limited to 'protocols/Weather')
-rw-r--r-- | protocols/Weather/src/stdafx.h | 1 | ||||
-rw-r--r-- | protocols/Weather/src/weather_addstn.cpp | 2 | ||||
-rw-r--r-- | protocols/Weather/src/weather_mwin.cpp | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/protocols/Weather/src/stdafx.h b/protocols/Weather/src/stdafx.h index 7a8156af5e..226abc0980 100644 --- a/protocols/Weather/src/stdafx.h +++ b/protocols/Weather/src/stdafx.h @@ -34,6 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <malloc.h> #include <newpluginapi.h> +#include <m_contacts.h> #include <m_icolib.h> #include <m_options.h> #include <m_langpack.h> diff --git a/protocols/Weather/src/weather_addstn.cpp b/protocols/Weather/src/weather_addstn.cpp index 96ab251cf6..ff4287a988 100644 --- a/protocols/Weather/src/weather_addstn.cpp +++ b/protocols/Weather/src/weather_addstn.cpp @@ -50,7 +50,7 @@ INT_PTR WeatherAddToList(WPARAM, LPARAM lParam) // and add them on the list if (db_get_b(hContact, "CList", "NotOnList", 1)) { db_unset(hContact, "CList", "NotOnList"); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); } db_free(&dbv); // contact is added, function quitting diff --git a/protocols/Weather/src/weather_mwin.cpp b/protocols/Weather/src/weather_mwin.cpp index 1ab04f0811..c837648c09 100644 --- a/protocols/Weather/src/weather_mwin.cpp +++ b/protocols/Weather/src/weather_mwin.cpp @@ -250,7 +250,7 @@ static void addWindow(MCONTACT hContact) int frameID = g_plugin.addFrame(&Frame); g_plugin.setDword(hContact, "mwin", frameID); - Clist_HideContact(hContact); + Contact_Hide(hContact); } void removeWindow(MCONTACT hContact) @@ -261,7 +261,7 @@ void removeWindow(MCONTACT hContact) CallService(MS_CLIST_FRAMES_REMOVEFRAME, frameId, 0); g_plugin.setDword(hContact, "mwin", 0); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); } void UpdateMwinData(MCONTACT hContact) |