Fixed issue when setting a 'proportional' style hint.
authorMarijn van Vliet <w.m.vanvliet@student.utwente.nl>
Sun, 9 Jan 2011 22:55:31 +0000 (23:55 +0100)
committerMarijn van Vliet <w.m.vanvliet@student.utwente.nl>
Sun, 9 Jan 2011 22:55:31 +0000 (23:55 +0100)
libchimara/style.c

index f7bce7f9a625a0f6f503928e7f4d4e5b7067c811..2e2b80c898c73fb54bd31aeccf3659dbf2d1157e 100644 (file)
@@ -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);