[vte/vte-next: 23/223] 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: 23/223] vteapp: Don't use deprecated vte_terminal_set_font_from_string_full
- Date: Wed, 22 Jun 2011 20:50:33 +0000 (UTC)
commit 2fd0964af074783fe7c3347fb6ea18ae1f837612
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 48be1e7..2abb91d 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]