[vte] widget: Remove deprecated vte_terminal_get_padding



commit ac7f636d9ebbe7e95fabfec3529a964bec53c84e
Author: Christian Persch <chpe gnome org>
Date:   Mon May 2 20:56:53 2011 +0200

    widget: Remove deprecated vte_terminal_get_padding

 doc/reference/vte-sections.txt |    1 -
 src/vte.c                      |   28 ----------------------------
 src/vtedeprecated.h            |    1 -
 3 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt
index 7d21353..bdd648e 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -83,7 +83,6 @@ vte_terminal_get_default_emulation
 vte_terminal_set_encoding
 vte_terminal_get_encoding
 vte_terminal_get_status_line
-vte_terminal_get_padding
 vte_terminal_write_contents
 vte_terminal_search_find_next
 vte_terminal_search_find_previous
diff --git a/src/vte.c b/src/vte.c
index f3c7753..4fb3e1f 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13699,34 +13699,6 @@ vte_terminal_get_status_line(VteTerminal *terminal)
 }
 
 /**
- * vte_terminal_get_padding:
- * @terminal: a #VteTerminal
- * @xpad: address in which to store left/right-edge padding
- * @ypad: address in which to store top/bottom-edge ypadding
- *
- * Determines the amount of additional space the widget is using to pad the
- * edges of its visible area.  This is necessary for cases where characters in
- * the selected font don't themselves include a padding area and the text
- * itself would otherwise be contiguous with the window border.  Applications
- * which use the widget's %row_count, %column_count, %char_height, and
- * %char_width fields to set geometry hints using
- * gtk_window_set_geometry_hints() will need to add this value to the base
- * size.  The values returned in @xpad and @ypad are the total padding used in
- * each direction, and do not need to be doubled.
- *
- * Deprecated: 0.26: Get the #VteTerminal:inner-border style property instead
- */
-void
-vte_terminal_get_padding(VteTerminal *terminal, int *xpad, int *ypad)
-{
-       g_return_if_fail(VTE_IS_TERMINAL(terminal));
-       g_return_if_fail(xpad != NULL);
-       g_return_if_fail(ypad != NULL);
-       *xpad = terminal->pvt->inner_border.left + terminal->pvt->inner_border.right;
-       *ypad = terminal->pvt->inner_border.top + terminal->pvt->inner_border.bottom;
-}
-
-/**
  * vte_terminal_get_adjustment:
  * @terminal: a #VteTerminal
  *
diff --git a/src/vtedeprecated.h b/src/vtedeprecated.h
index 18b8e15..6de68ae 100644
--- a/src/vtedeprecated.h
+++ b/src/vtedeprecated.h
@@ -86,7 +86,6 @@ pid_t vte_terminal_forkpty(VteTerminal *terminal,
                           gboolean lastlog,
                           gboolean utmp,
                           gboolean wtmp) G_GNUC_DEPRECATED;
-void vte_terminal_get_padding(VteTerminal *terminal, int *xpad, int *ypad) G_GNUC_DEPRECATED;
 void vte_terminal_set_pty(VteTerminal *terminal, int pty_master);
 int vte_terminal_get_pty(VteTerminal *terminal);
 


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