From afcb589f8e9a227d40f839c6eb15bb28985545d5 Mon Sep 17 00:00:00 2001 From: Marijn van Vliet Date: Sun, 9 Jan 2011 23:55:31 +0100 Subject: [PATCH] Fixed issue when setting a 'proportional' style hint. --- libchimara/style.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libchimara/style.c b/libchimara/style.c index f7bce7f..2e2b80c 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -763,7 +763,7 @@ apply_stylehint_to_tag(GtkTextTag *tag, GtkTextTag *default_tag, glui32 wintype, gchar *font_family; GtkTextTag *font_tag = g_hash_table_lookup( wintype == wintype_TextBuffer? glk_data->styles->text_buffer : glk_data->styles->text_grid, - val? "normal" : "preformatted"); + val? "default" : "preformatted"); g_object_get(font_tag, "family", &font_family, NULL); g_object_set(tag_object, "family", font_family, "family-set", TRUE, NULL); g_free(font_family); -- 2.30.2