diff options
Diffstat (limited to 'plugins/AVS/src/image_utils.cpp')
-rw-r--r-- | plugins/AVS/src/image_utils.cpp | 12 |
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;
-}
|