vte r2130 - trunk/src



Author: chpe
Date: Thu Oct 23 08:39:44 2008
New Revision: 2130
URL: http://svn.gnome.org/viewvc/vte?rev=2130&view=rev

Log:
Bug 556398 â maybe deprecate vte_terminal_get_char_ascent/descent

Modified:
   trunk/src/vte.c
   trunk/src/vte.h

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Thu Oct 23 08:39:44 2008
@@ -13342,6 +13342,8 @@
  * An accessor function provided for the benefit of language bindings.
  *
  * Returns: the contents of @terminal's char_descent field
+ *
+ * Deprecated: 0.17.5
  */
 glong
 vte_terminal_get_char_descent(VteTerminal *terminal)
@@ -13358,6 +13360,8 @@
  * An accessor function provided for the benefit of language bindings.
  *
  * Returns: the contents of @terminal's char_ascent field
+ *
+ * Deprecated: 0.17.5
  */
 glong
 vte_terminal_get_char_ascent(VteTerminal *terminal)

Modified: trunk/src/vte.h
==============================================================================
--- trunk/src/vte.h	(original)
+++ trunk/src/vte.h	Thu Oct 23 08:39:44 2008
@@ -437,8 +437,10 @@
 GtkAdjustment *vte_terminal_get_adjustment(VteTerminal *terminal);
 glong vte_terminal_get_char_width(VteTerminal *terminal);
 glong vte_terminal_get_char_height(VteTerminal *terminal);
-glong vte_terminal_get_char_descent(VteTerminal *terminal);
-glong vte_terminal_get_char_ascent(VteTerminal *terminal);
+#ifndef VTE_DISABLE_DEPRECATED
+glong vte_terminal_get_char_descent(VteTerminal *terminal) G_GNUC_DEPRECATED;
+glong vte_terminal_get_char_ascent(VteTerminal *terminal) G_GNUC_DEPRECATED;
+#endif
 glong vte_terminal_get_row_count(VteTerminal *terminal);
 glong vte_terminal_get_column_count(VteTerminal *terminal);
 const char *vte_terminal_get_window_title(VteTerminal *terminal);



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