mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 08:48:00 +02:00
[WIN32] Remove unused mutex cairo_toy_font_face_hash_table_mutex
This commit is contained in:
parent
0cdb96544e
commit
972f7d9fc8
1 changed files with 0 additions and 3 deletions
|
|
@ -1895,7 +1895,6 @@ static const cairo_surface_backend_t cairo_win32_surface_backend = {
|
|||
*/
|
||||
#if !defined(HAVE_PTHREAD_H)
|
||||
|
||||
CRITICAL_SECTION cairo_toy_font_face_hash_table_mutex;
|
||||
CRITICAL_SECTION cairo_scaled_font_map_mutex;
|
||||
CRITICAL_SECTION cairo_ft_unscaled_font_map_mutex;
|
||||
CRITICAL_SECTION cairo_font_face_mutex;
|
||||
|
|
@ -1908,7 +1907,6 @@ _cairo_win32_initialize (void) {
|
|||
return;
|
||||
|
||||
/* every 'mutex' from CAIRO_MUTEX_DECALRE needs to be initialized here */
|
||||
InitializeCriticalSection (&cairo_toy_font_face_hash_table_mutex);
|
||||
InitializeCriticalSection (&cairo_scaled_font_map_mutex);
|
||||
InitializeCriticalSection (&cairo_ft_unscaled_font_map_mutex);
|
||||
InitializeCriticalSection (&cairo_font_face_mutex);
|
||||
|
|
@ -1928,7 +1926,6 @@ DllMain (HINSTANCE hinstDLL,
|
|||
_cairo_win32_initialize();
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
DeleteCriticalSection (&cairo_toy_font_face_hash_table_mutex);
|
||||
DeleteCriticalSection (&cairo_scaled_font_map_mutex);
|
||||
DeleteCriticalSection (&cairo_ft_unscaled_font_map_mutex);
|
||||
DeleteCriticalSection (&cairo_font_face_mutex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue