remove use of WithConversion. fixing bug 328734. r=vlad

This commit is contained in:
pavlov%pavlov.net 2006-04-06 05:29:07 +00:00
Родитель 0dd775b932
Коммит b1b4fd1937
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -192,9 +192,9 @@ nsSystemFontsGTK2::GetSystemFontInfo(GtkWidget *aWidget, nsFont* aFont,
g_free(fontname);
aFont->name.Assign(PRUnichar('"'));
aFont->name.AppendWithConversion(pango_font_description_get_family(desc));
aFont->name.Append(PRUnichar('"'));
NS_NAMED_LITERAL_STRING(quote, "\"");
NS_ConvertUTF8toUTF16 family(pango_font_description_get_family(desc));
aFont->name = quote + family + quote;
aFont->weight = pango_font_description_get_weight(desc);