summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/core.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp
index 4807733917..7653d48e17 100644
--- a/protocols/Gadu-Gadu/src/core.cpp
+++ b/protocols/Gadu-Gadu/src/core.cpp
@@ -993,14 +993,14 @@ retry:
CLISTEVENT cle = { 0 };
cle.hContact = hContact;
- cle.hIcon = LoadIconEx("image", FALSE);
+ cle.hIcon = g_plugin.getIcon(IDI_IMAGE);
cle.flags = CLEF_URGENT;
cle.hDbEvent = -98;
cle.lParam = (LPARAM)img;
cle.pszService = service;
cle.szTooltip.a = Translate("Incoming image");
g_clistApi.pfnAddEvent(&cle);
- ReleaseIconEx("image", FALSE);
+ g_plugin.releaseIcon(IDI_IMAGE);
}
}
break;