diff options
Diffstat (limited to 'plugins/FloatingContacts')
-rw-r--r-- | plugins/FloatingContacts/FltCont.vcxproj | 5 | ||||
-rw-r--r-- | plugins/FloatingContacts/FltCont.vcxproj.filters | 3 | ||||
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 4 |
3 files changed, 1 insertions, 11 deletions
diff --git a/plugins/FloatingContacts/FltCont.vcxproj b/plugins/FloatingContacts/FltCont.vcxproj index ec5281e433..c68b660d84 100644 --- a/plugins/FloatingContacts/FltCont.vcxproj +++ b/plugins/FloatingContacts/FltCont.vcxproj @@ -43,11 +43,6 @@ <ClInclude Include="src\version.h" />
</ItemGroup>
<ItemGroup>
- <ClCompile Include="..\..\utils\mir_fonts.cpp">
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
<ResourceCompile Include="res\fltcnt.rc" />
<ResourceCompile Include="res\version.rc" />
</ItemGroup>
diff --git a/plugins/FloatingContacts/FltCont.vcxproj.filters b/plugins/FloatingContacts/FltCont.vcxproj.filters index 8beef67a69..903f361bf0 100644 --- a/plugins/FloatingContacts/FltCont.vcxproj.filters +++ b/plugins/FloatingContacts/FltCont.vcxproj.filters @@ -20,9 +20,6 @@ <ClCompile Include="src\thumbs.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\utils\mir_fonts.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\bitmap_funcs.h">
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);
|