summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-05 22:06:24 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-05 22:06:24 +0300
commitca97e51bc8522538feb522940682a55f0620b90c (patch)
treea4e53d7fc7ae0252afcfdc94313a44f874150d7d /plugins/FloatingContacts/src/main.cpp
parentcda14f4f5ec6f88e98285dc9af5c89231561e73f (diff)
mir_fonts.cpp erased because the problems with translation
Diffstat (limited to 'plugins/FloatingContacts/src/main.cpp')
-rw-r--r--plugins/FloatingContacts/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp
index eb64c54463..a1265dba97 100644
--- a/plugins/FloatingContacts/src/main.cpp
+++ b/plugins/FloatingContacts/src/main.cpp
@@ -16,8 +16,6 @@ No warranty for any misbehaviour.
#include "stdafx.h"
-#include "../../utils/mir_fonts.h"
-
/////////////////////////////////////////////////////////////////////////////
// Globals
@@ -908,7 +906,7 @@ int CMPlugin::Load()
char szId[20];
mir_snprintf(szId, "Font%d", i);
- FontService_RegisterFont(MODULENAME, szId, LPGENW("Floating contacts"), s_fonts[i], nullptr, nullptr, i + 1, false, &lf, defColor);
+ addFont(MODULENAME, szId, LPGENW("Floating contacts"), s_fonts[i], nullptr, nullptr, i + 1, false, &lf, defColor);
}
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoded);