[vte/vte-next: 12/223] Remove deprecated vte_terminal_get_adjustment



commit 7afc0fe93793e80fcdb894a3f723efc53c710934
Author: Christian Persch <chpe gnome org>
Date:   Mon May 2 20:59:01 2011 +0200

    Remove deprecated vte_terminal_get_adjustment

 doc/reference/vte-sections.txt |    1 -
 src/vte.c                      |   17 -----------------
 src/vtedeprecated.h            |    4 ----
 3 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt
index 1e5cbc1..226bd67 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -129,7 +129,6 @@ VTE_IS_TERMINAL_CLASS
 VTE_TERMINAL_CLASS
 
 <SUBSECTION Binding Accessors>
-vte_terminal_get_adjustment
 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 2dff9cd..7bc2566 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13791,23 +13791,6 @@ vte_terminal_get_status_line(VteTerminal *terminal)
 }
 
 /**
- * vte_terminal_get_adjustment:
- * @terminal: a #VteTerminal
- *
- * An accessor function provided for the benefit of language bindings.
- *
- * Returns: (transfer none): the contents of @terminal's adjustment field
- *
- * Deprecated: 0.28: Use gtk_scrollable_get_vadjustment() instead
- */
-GtkAdjustment *
-vte_terminal_get_adjustment(VteTerminal *terminal)
-{
-	g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL);
-	return terminal->adjustment;
-}
-
-/**
  * vte_terminal_get_char_width:
  * @terminal: a #VteTerminal
  *
diff --git a/src/vtedeprecated.h b/src/vtedeprecated.h
index b212a92..6577d3a 100644
--- a/src/vtedeprecated.h
+++ b/src/vtedeprecated.h
@@ -89,10 +89,6 @@ pid_t vte_terminal_forkpty(VteTerminal *terminal,
 void vte_terminal_set_pty(VteTerminal *terminal, int pty_master);
 int vte_terminal_get_pty(VteTerminal *terminal);
 
-#if GTK_CHECK_VERSION (2, 91, 2)
-GtkAdjustment *vte_terminal_get_adjustment(VteTerminal *terminal);
-#endif
-
 G_END_DECLS
 
 #endif /* !vte_deprecated_h_included */



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