dwrite: release_freetype() is unused so remove it.
Francois Gouget
fgouget at free.fr
Mon Jan 5 12:35:11 CST 2015
---
dlls/dwrite/dwrite_private.h | 1 -
dlls/dwrite/freetype.c | 10 ----------
2 files changed, 11 deletions(-)
diff --git a/dlls/dwrite/dwrite_private.h b/dlls/dwrite/dwrite_private.h
index 5227762..2941743 100644
--- a/dlls/dwrite/dwrite_private.h
+++ b/dlls/dwrite/dwrite_private.h
@@ -145,7 +145,6 @@ extern HRESULT new_glyph_outline(UINT32,struct glyph_outline**) DECLSPEC_HIDDEN;
/* FreeType integration */
extern BOOL init_freetype(void) DECLSPEC_HIDDEN;
-extern void release_freetype(void) DECLSPEC_HIDDEN;
extern HRESULT freetype_get_design_glyph_metrics(IDWriteFontFace2*,UINT16,UINT16,DWRITE_GLYPH_METRICS*) DECLSPEC_HIDDEN;
extern void freetype_notify_cacheremove(IDWriteFontFace2*) DECLSPEC_HIDDEN;
extern BOOL freetype_is_monospaced(IDWriteFontFace2*) DECLSPEC_HIDDEN;
diff --git a/dlls/dwrite/freetype.c b/dlls/dwrite/freetype.c
index 43fa4df..fc30163 100644
--- a/dlls/dwrite/freetype.c
+++ b/dlls/dwrite/freetype.c
@@ -171,12 +171,6 @@ sym_not_found:
return FALSE;
}
-void release_freetype(void)
-{
- pFTC_Manager_Done(cache_manager);
- pFT_Done_FreeType(library);
-}
-
void freetype_notify_cacheremove(IDWriteFontFace2 *fontface)
{
EnterCriticalSection(&freetype_cs);
@@ -382,10 +376,6 @@ BOOL init_freetype(void)
return FALSE;
}
-void release_freetype(void)
-{
-}
-
void freetype_notify_cacheremove(IDWriteFontFace2 *fontface)
{
}
--
2.1.4
More information about the wine-patches
mailing list