Commit b5248863 authored by Egmont Koblinger's avatar Egmont Koblinger

widget: Deprecate vte_terminal_[sg]et_allow_bold()

https://bugzilla.gnome.org/show_bug.cgi?id=762247#c36
parent 7f6e48ce
......@@ -140,6 +140,14 @@ _VTE_DEPRECATED
_VTE_PUBLIC
gboolean vte_terminal_get_rewrap_on_resize(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
_VTE_DEPRECATED
_VTE_PUBLIC
void vte_terminal_set_allow_bold(VteTerminal *terminal,
gboolean allow_bold) _VTE_GNUC_NONNULL(1);
_VTE_DEPRECATED
_VTE_PUBLIC
gboolean vte_terminal_get_allow_bold(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
G_END_DECLS
#undef _VTE_DEPRECATED
......
......@@ -302,11 +302,6 @@ void vte_terminal_set_font(VteTerminal *terminal,
const PangoFontDescription *font_desc) _VTE_GNUC_NONNULL(1);
_VTE_PUBLIC
const PangoFontDescription *vte_terminal_get_font(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
_VTE_PUBLIC
void vte_terminal_set_allow_bold(VteTerminal *terminal,
gboolean allow_bold) _VTE_GNUC_NONNULL(1);
_VTE_PUBLIC
gboolean vte_terminal_get_allow_bold(VteTerminal *terminal) _VTE_GNUC_NONNULL(1);
_VTE_PUBLIC
void vte_terminal_set_bold_is_bright(VteTerminal *terminal,
......
......@@ -1402,9 +1402,10 @@ vte_terminal_class_init(VteTerminalClass *klass)
/**
* VteTerminal:allow-bold:
*
* Controls whether or not the terminal will attempt to draw bold text.
* This may happen either by using a bold font variant, or by
* repainting text with a different offset.
* Controls whether or not the terminal will attempt to draw bold text,
* by using a bold font variant.
*
* Deprecated: 0.60: There's probably no reason for this feature to exist.
*/
pspecs[PROP_ALLOW_BOLD] =
g_param_spec_boolean ("allow-bold", NULL, NULL,
......@@ -3146,10 +3147,11 @@ vte_terminal_set_text_blink_mode(VteTerminal *terminal,
* @terminal: a #VteTerminal
*
* Checks whether or not the terminal will attempt to draw bold text,
* either by using a bold font variant or by repainting text with a different
* offset.
* by using a bold font variant.
*
* Returns: %TRUE if bolding is enabled, %FALSE if not
*
* Deprecated: 0.60: There's probably no reason for this feature to exist.
*/
gboolean
vte_terminal_get_allow_bold(VteTerminal *terminal)
......@@ -3164,8 +3166,9 @@ vte_terminal_get_allow_bold(VteTerminal *terminal)
* @allow_bold: %TRUE if the terminal should attempt to draw bold text
*
* Controls whether or not the terminal will attempt to draw bold text,
* either by using a bold font variant or by repainting text with a different
* offset.
* by using a bold font variant.
*
* Deprecated: 0.60: There's probably no reason for this feature to exist.
*/
void
vte_terminal_set_allow_bold(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