summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/image_utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-28 12:55:16 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-28 12:55:16 +0300
commitfd9794e8d383f54ad624cd907e7d8a902e510951 (patch)
treea3759bc3dc69ce9969f66080aa73571dbd2a9c18 /plugins/AVS/src/image_utils.cpp
parent54a1360c3485733d554e56d312221f3ad1423226 (diff)
AVS: rudimentary support for ANSI avatar path removed
Diffstat (limited to 'plugins/AVS/src/image_utils.cpp')
-rw-r--r--plugins/AVS/src/image_utils.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/AVS/src/image_utils.cpp b/plugins/AVS/src/image_utils.cpp
index 3408e5296a..26d8b85d13 100644
--- a/plugins/AVS/src/image_utils.cpp
+++ b/plugins/AVS/src/image_utils.cpp
@@ -540,15 +540,3 @@ BOOL MakeTransparentBkg(MCONTACT hContact, HBITMAP *hBitmap)
free(p);
return TRUE;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// Other utils
-
-int SaveAvatar(const char *protocol, const wchar_t *tszFileName)
-{
- INT_PTR result = CallProtoService(protocol, PS_SETMYAVATAR, 0, (LPARAM)tszFileName);
- if (result == CALLSERVICE_NOTFOUND)
- result = CallProtoService(protocol, PS_SETMYAVATAR, 0, _T2A(tszFileName));
-
- return result;
-}