Changeset 6029 for branches/newosd

Show
Ignore:
Timestamp:
01/12/08 19:48:54 (11 months ago)
Author:
eugene
Message:

Initialize gtype early to avoid rarely seen race during layout initialization.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newosd/src/iface.cpp

    r5985 r6029  
    88Iface::Iface() 
    99{ 
     10  g_type_init(); 
     11 
    1012  aosd = aosd_new(); 
    1113  aosd_set_transparency(aosd, TRANSPARENCY_COMPOSITE); 
     
    1315  aosd_set_names(aosd, "OSD Plugin", "Licq"); 
    1416 
    15   g_type_init(); 
    1617  memset(&trd, 0, sizeof(TextRenderData)); 
    1718  trd.lay = pango_layout_new_aosd();