[vte] widget: Remove deprecated vte_terminal_get_char_{a,de}scent



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

    widget: 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 358c17a..7d21353 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -127,8 +127,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 a274721..5550ff6 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13772,42 +13772,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 4ecbca5..18b8e15 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]