From: Marijn van Vliet Date: Sun, 9 Jan 2011 22:55:31 +0000 (+0100) Subject: Fixed issue when setting a 'proportional' style hint. X-Git-Tag: v0.9~159^2^2 X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=commitdiff_plain;h=afcb589f8e9a227d40f839c6eb15bb28985545d5 Fixed issue when setting a 'proportional' style hint. --- 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);