[vte] widget: Remove VteTerminalPrivate.fontantialias



commit 64821b0f299d383d4e147cef4ec994b9f62f58d1
Author: Christian Persch <chpe gnome org>
Date:   Mon May 2 21:24:10 2011 +0200

    widget: Remove VteTerminalPrivate.fontantialias

 src/vte-private.h |    1 -
 src/vte.c         |    4 +---
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/vte-private.h b/src/vte-private.h
index c598317..1af5c31 100644
--- a/src/vte-private.h
+++ b/src/vte-private.h
@@ -349,7 +349,6 @@ struct _VteTerminalPrivate {
        /* Data used when rendering the text which does not require server
         * resources and which can be kept after unrealizing. */
        PangoFontDescription *fontdesc;
-       VteTerminalAntiAlias fontantialias;
        gboolean fontdirty;
         glong char_ascent;
         glong char_descent;
diff --git a/src/vte.c b/src/vte.c
index cfffb4f..44eb50c 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7417,7 +7417,7 @@ vte_terminal_ensure_font (VteTerminal *terminal)
                        terminal->pvt->fontdirty = FALSE;
                        _vte_draw_set_text_font (terminal->pvt->draw,
                                        terminal->pvt->fontdesc,
-                                       terminal->pvt->fontantialias);
+                                       VTE_ANTI_ALIAS_USE_DEFAULT);
                        _vte_draw_get_text_metrics (terminal->pvt->draw,
                                                    &width, &height, &ascent);
                        vte_terminal_apply_metrics(terminal,
@@ -8187,7 +8187,6 @@ vte_terminal_init(VteTerminal *terminal)
        pvt->draw = _vte_draw_new(&terminal->widget);
 
        /* The font description. */
-       pvt->fontantialias = VTE_ANTI_ALIAS_USE_DEFAULT;
        gtk_widget_ensure_style(&terminal->widget);
 
        /* Set up background information. */
@@ -8568,7 +8567,6 @@ vte_terminal_finalize(GObject *object)
        if (terminal->pvt->fontdesc != NULL) {
                pango_font_description_free(terminal->pvt->fontdesc);
        }
-       terminal->pvt->fontantialias = VTE_ANTI_ALIAS_USE_DEFAULT;
 
        /* Free matching data. */
        if (terminal->pvt->match_attributes != NULL) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]