Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vte
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
103
Issues
103
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
GNOME
vte
Commits
b5248863
Commit
b5248863
authored
Oct 11, 2019
by
Egmont Koblinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widget: Deprecate vte_terminal_[sg]et_allow_bold()
https://bugzilla.gnome.org/show_bug.cgi?id=762247#c36
parent
7f6e48ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
src/vte/vtedeprecated.h
src/vte/vtedeprecated.h
+8
-0
src/vte/vteterminal.h
src/vte/vteterminal.h
+0
-5
src/vtegtk.cc
src/vtegtk.cc
+10
-7
No files found.
src/vte/vtedeprecated.h
View file @
b5248863
...
...
@@ -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
...
...
src/vte/vteterminal.h
View file @
b5248863
...
...
@@ -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
,
...
...
src/vtegtk.cc
View file @
b5248863
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment