--- src/simple-x-font-selector.c +++ src/simple-x-font-selector.c @@ -1170,6 +1170,8 @@ /* Add another entry to the table for this new font family */ temp_info.family = family_exists ? family : g_strdup(family); temp_info.foundry = foundry; + temp_info.style_index = 0; + temp_info.nstyles = 0; temp_fontname = g_slist_prepend (NULL, fontname); (*ntable)++;