| 2951 font->size = 100; |
2951 font->size = 100; |
| 2952 } else if (oldfont) |
2952 } else if (oldfont) |
| 2953 font->size = oldfont->size; |
2953 font->size = oldfont->size; |
| 2954 else |
2954 else |
| 2955 font->size = 3; |
2955 font->size = 3; |
| 2956 if ((imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK))) |
2956 if ((imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK)) && (font->size != 3 || (oldfont && oldfont->size == 3))) |
| 2957 gtk_imhtml_font_set_size(imhtml, font->size); |
2957 gtk_imhtml_font_set_size(imhtml, font->size); |
| 2958 g_free(size); |
2958 g_free(size); |
| 2959 fonts = g_slist_prepend (fonts, font); |
2959 fonts = g_slist_prepend (fonts, font); |
| 2960 } |
2960 } |
| 2961 break; |
2961 break; |