[vte/vte-next: 22/47] 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/47] vteapp: Don't use deprecated vte_terminal_set_font_from_string_full
- Date: Tue, 3 May 2011 00:06:48 +0000 (UTC)
commit ee72b16eab7018605b41c76e288aea320270748b
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]