Commit ac7f636d authored by Christian Persch's avatar Christian Persch

widget: Remove deprecated vte_terminal_get_padding

parent 6cfcf7c2
...@@ -83,7 +83,6 @@ vte_terminal_get_default_emulation ...@@ -83,7 +83,6 @@ vte_terminal_get_default_emulation
vte_terminal_set_encoding vte_terminal_set_encoding
vte_terminal_get_encoding vte_terminal_get_encoding
vte_terminal_get_status_line vte_terminal_get_status_line
vte_terminal_write_contents vte_terminal_write_contents
vte_terminal_search_find_next vte_terminal_search_find_next
vte_terminal_search_find_previous vte_terminal_search_find_previous
...@@ -13698,34 +13698,6 @@ vte_terminal_get_status_line(VteTerminal *terminal) ...@@ -13698,34 +13698,6 @@ vte_terminal_get_status_line(VteTerminal *terminal)
return terminal->pvt->screen->status_line_contents->str; return terminal->pvt->screen->status_line_contents->str;
} }
* 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
vte_terminal_get_padding(VteTerminal *terminal, int *xpad, int *ypad)
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-> + terminal->pvt->inner_border.bottom;
/** /**
* vte_terminal_get_adjustment: * vte_terminal_get_adjustment:
* @terminal: a #VteTerminal * @terminal: a #VteTerminal
...@@ -86,7 +86,6 @@ pid_t vte_terminal_forkpty(VteTerminal *terminal, ...@@ -86,7 +86,6 @@ pid_t vte_terminal_forkpty(VteTerminal *terminal,
gboolean lastlog, gboolean lastlog,
gboolean utmp, gboolean utmp,
gboolean wtmp) G_GNUC_DEPRECATED; 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); void vte_terminal_set_pty(VteTerminal *terminal, int pty_master);
int vte_terminal_get_pty(VteTerminal *terminal); int vte_terminal_get_pty(VteTerminal *terminal);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment