[vte/vte-next: 22/114] vteapp: Don't use deprecated vte_terminal_set_font_from_string_full
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next: 22/114] vteapp: Don't use deprecated vte_terminal_set_font_from_string_full
- Date: Mon, 30 May 2011 17:08:36 +0000 (UTC)
commit bc7ea249dc10c3560b0307703da42a41913176b4
Author: Christian Persch <chpe gnome org>
Date: Mon May 2 21:31:23 2011 +0200
vteapp: Don't use deprecated vte_terminal_set_font_from_string_full
src/vteapp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index 9f5018c..f68879e 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -915,8 +915,9 @@ main(int argc, char **argv)
vte_terminal_set_cursor_shape(terminal, cursor_shape);
/* Set the default font. */
- vte_terminal_set_font_from_string_full(terminal, font,
- VTE_ANTI_ALIAS_USE_DEFAULT);
+ if (font) {
+ vte_terminal_set_font_from_string(terminal, font);
+ }
/* Match "abcdefg". */
if (dingus) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]