diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-17 01:08:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-17 01:40:26 +0800 |
commit | d88a9e736052357389f77a1e8e25221a1517ca72 (patch) | |
tree | cc62ca5424dd4b09b4859173029b1943cb7a11fa /widgets/text | |
parent | 58d7fa132943d72d17d26f8130c6a0e48011f8b6 (diff) | |
download | gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.tar gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.tar.gz gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.tar.bz2 gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.tar.lz gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.tar.xz gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.tar.zst gsoc2013-evolution-d88a9e736052357389f77a1e8e25221a1517ca72.zip |
Bug 649990 - Remove get_font_options() from e-util.c.
Not only is get_font_options() no longer needed, it's actually doing the
wrong thing by reading settings through GConfClient instead of GSettings.
But it turns out, thanks to the tighter Cairo integration in GTK3, the
widgets that call get_font_options() can be made to work correctly by
simply removing this hack. Love it when that happens.
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-text.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 40aedfc735..3986033c75 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -416,8 +416,6 @@ static void reset_layout (EText *text) { GnomeCanvasItem *item = GNOME_CANVAS_ITEM (text); - cairo_font_options_t *font_options; - PangoContext *context; if (text->layout == NULL) { create_layout (text); @@ -427,13 +425,6 @@ reset_layout (EText *text) style = gtk_widget_get_style (GTK_WIDGET (item->canvas)); - context = pango_layout_get_context (text->layout); - - font_options = get_font_options (); - pango_cairo_context_set_font_options (context, font_options); - cairo_font_options_destroy (font_options); - pango_layout_context_changed (text->layout); - if (text->font_desc) { pango_font_description_free (text->font_desc); } |