From 7cf53a9f60194add93b38005da3374e646bbb255 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 21 Sep 2011 00:23:07 +0200 Subject: [PATCH] fontchooser: Take font description from model ... instead of taking face and constructing it from there. --- gtk/gtkfontchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index f7210465e6..4ef5436fd1 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -390,12 +390,12 @@ cursor_changed_cb (GtkTreeView *treeview, gtk_tree_model_get (priv->filter_model, &iter, FACE_COLUMN, &face, FAMILY_COLUMN, &family, + FONT_DESC_COLUMN, &desc, -1); gtk_tree_path_free (path); path = NULL; - desc = pango_font_face_describe (face); pango_font_description_set_size (desc, pango_font_description_get_size (priv->font_desc)); gtk_widget_override_font (priv->preview, desc);