[cairo-commit] cairo/src cairo-win32-surface.c,1.34.2.2,1.34.2.3

Carl Worth commit at pdx.freedesktop.org
Mon Oct 3 21:59:03 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv21019/src

Modified Files:
      Tag: BRANCH_1_0
	cairo-win32-surface.c 
Log Message:

2005-10-03  Carl Worth  <cworth at cworth.org>

        * src/cairo-win32-surface.c: (DllMain): Add missing initialization
        for _global_image_glyph_cache_mutex (Vladimir Vukicevic
        <vladimirv at gmail.com>).


Index: cairo-win32-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-win32-surface.c,v
retrieving revision 1.34.2.2
retrieving revision 1.34.2.3
diff -u -d -r1.34.2.2 -r1.34.2.3
--- cairo-win32-surface.c	27 Sep 2005 20:25:06 -0000	1.34.2.2
+++ cairo-win32-surface.c	4 Oct 2005 04:59:01 -0000	1.34.2.3
@@ -1062,6 +1062,7 @@
 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 _global_image_glyph_cache_mutex;
 
 BOOL WINAPI
 DllMain (HINSTANCE hinstDLL,
@@ -1075,11 +1076,13 @@
     InitializeCriticalSection (&cairo_toy_font_face_hash_table_mutex);
     InitializeCriticalSection (&cairo_scaled_font_map_mutex);
     InitializeCriticalSection (&cairo_ft_unscaled_font_map_mutex);
+    InitializeCriticalSection (&_global_image_glyph_cache_mutex);
     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 (&_global_image_glyph_cache_mutex);
     break;
   }
   return TRUE;



More information about the cairo-commit mailing list