diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-27 10:24:54 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-27 10:24:54 +0000 |
commit | 6e9ace645b7d24ed0fe60f4b7714d3bb11739dfc (patch) | |
tree | 10c6c2c8666a7421744910f9ab58630dc88dd47c /protocols/GTalkExt/src/notifications.cpp | |
parent | 61efc6be20aa4315e9e524dffeb9b5c812ab19cc (diff) |
GTalkExt: icon added to icolib
git-svn-id: http://svn.miranda-ng.org/main/trunk@16553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/notifications.cpp')
-rw-r--r-- | protocols/GTalkExt/src/notifications.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/GTalkExt/src/notifications.cpp b/protocols/GTalkExt/src/notifications.cpp index 9c0d1e409c..b1277de614 100644 --- a/protocols/GTalkExt/src/notifications.cpp +++ b/protocols/GTalkExt/src/notifications.cpp @@ -220,8 +220,7 @@ void ShowNotification(LPCSTR acc, POPUPDATAT *data, LPCTSTR jid, LPCTSTR url, LP if (!UsePopups())
return;
- extern HICON g_hPopupIcon;
- data->lchIcon = g_hPopupIcon;
+ data->lchIcon = IcoLib_GetIconByHandle(iconList[0].hIcolib);
data->iSeconds = (int)db_get_dw(0, SHORT_PLUGIN_NAME, TIMEOUT_SETTING, 0);
data->colorBack = (COLORREF)db_get_dw(0, SHORT_PLUGIN_NAME, BACK_COLOR_SETTING, 0);
data->colorText = (COLORREF)db_get_dw(0, SHORT_PLUGIN_NAME, TEXT_COLOR_SETTING, 0);
|