[vte/vte-next: 10/47] Remove deprecated vte_terminal_get_padding



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

    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 5c53d93..1e5cbc1 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -87,7 +87,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 1ab99a6..163dde8 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13793,34 +13793,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 538c761..b212a92 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]