[vte/vte-next: 8/114] Remove deprecated vte_terminal_get_char_{a, de}scent



commit 6ba53307309cef83e48a9e72b9f41a6bea469eb7
Author: Christian Persch <chpe gnome org>
Date:   Mon May 2 20:50:51 2011 +0200

    Remove deprecated vte_terminal_get_char_{a,de}scent

 doc/reference/vte-sections.txt |    2 --
 src/vte.c                      |   36 ------------------------------------
 src/vtedeprecated.h            |    2 --
 3 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt
index 4c7d7a8..5c53d93 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -131,8 +131,6 @@ VTE_TERMINAL_CLASS
 
 <SUBSECTION Binding Accessors>
 vte_terminal_get_adjustment
-vte_terminal_get_char_ascent
-vte_terminal_get_char_descent
 vte_terminal_get_char_height
 vte_terminal_get_char_width
 vte_terminal_get_column_count
diff --git a/src/vte.c b/src/vte.c
index 42c2764..0e6cfa8 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13864,42 +13864,6 @@ vte_terminal_get_char_height(VteTerminal *terminal)
 }
 
 /**
- * vte_terminal_get_char_descent:
- * @terminal: a #VteTerminal
- *
- * An accessor function provided for the benefit of language bindings.
- *
- * Returns: the contents of @terminal's char_descent field
- *
- * Deprecated: 0.20
- */
-glong
-vte_terminal_get_char_descent(VteTerminal *terminal)
-{
-	g_return_val_if_fail(VTE_IS_TERMINAL(terminal), -1);
-	vte_terminal_ensure_font (terminal);
-	return terminal->char_descent;
-}
-
-/**
- * vte_terminal_get_char_ascent:
- * @terminal: a #VteTerminal
- *
- * An accessor function provided for the benefit of language bindings.
- *
- * Returns: the contents of @terminal's char_ascent field
- *
- * Deprecated: 0.20
- */
-glong
-vte_terminal_get_char_ascent(VteTerminal *terminal)
-{
-	g_return_val_if_fail(VTE_IS_TERMINAL(terminal), -1);
-	vte_terminal_ensure_font (terminal);
-	return terminal->char_ascent;
-}
-
-/**
  * vte_terminal_get_row_count:
  * @terminal: a #VteTerminal
  *
diff --git a/src/vtedeprecated.h b/src/vtedeprecated.h
index 3d78845..538c761 100644
--- a/src/vtedeprecated.h
+++ b/src/vtedeprecated.h
@@ -69,8 +69,6 @@ typedef enum {
 
 void vte_terminal_set_cursor_blinks(VteTerminal *terminal,
 				    gboolean blink) G_GNUC_DEPRECATED;
-glong vte_terminal_get_char_descent(VteTerminal *terminal) G_GNUC_DEPRECATED;
-glong vte_terminal_get_char_ascent(VteTerminal *terminal) G_GNUC_DEPRECATED;
 void vte_terminal_set_font_full(VteTerminal *terminal,
 				const PangoFontDescription *font_desc,
 				VteTerminalAntiAlias antialias) G_GNUC_DEPRECATED;



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