[vte/vte-next: 20/114] Remove VteTerminalPrivate.fontantialias



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

    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 13d7c14..77b968c 100644
--- a/src/vte-private.h
+++ b/src/vte-private.h
@@ -314,7 +314,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 c7ce257..9c1e08c 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7271,7 +7271,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,
@@ -7943,7 +7943,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. */
@@ -8358,7 +8357,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]