summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 18:30:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 18:30:42 +0300
commit8557d288376ccc87bd54f2a76c99f77115949f02 (patch)
treefdb3f8cac9215adc4493d26abb935bd5c1f54b2e /protocols/JabberG
parentfeac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (diff)
m_fontservice.h => CMPlugin
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-xprotocols/JabberG/src/jabber.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index 3ccc32c652..ff1d99b2f0 100755
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -134,12 +134,12 @@ static int OnModulesLoaded(WPARAM, LPARAM)
wcsncpy_s(fontid.name, LPGENW("Frame title"), _TRUNCATE);
strncpy_s(fontid.prefix, "fntFrameTitle", _TRUNCATE);
fontid.deffontsettings.style = DBFONTF_BOLD;
- Font_RegisterW(&fontid);
+ g_plugin.addFont(&fontid);
wcsncpy_s(fontid.name, LPGENW("Frame text"), _TRUNCATE);
strncpy_s(fontid.prefix, "fntFrameClock", _TRUNCATE);
fontid.deffontsettings.style = 0;
- Font_RegisterW(&fontid);
+ g_plugin.addFont(&fontid);
ColourIDW colourid = {0};
colourid.cbSize = sizeof(colourid);
@@ -149,7 +149,7 @@ static int OnModulesLoaded(WPARAM, LPARAM)
wcsncpy_s(colourid.name, L"Background", _TRUNCATE);
strncpy_s(colourid.setting, "clFrameBack", _TRUNCATE);
colourid.defcolour = GetSysColor(COLOR_WINDOW);
- Colour_RegisterW(&colourid);
+ g_plugin.addColor(&colourid);
return 0;
}