[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 4c09e3a: Backport: correct old fix for GTK font s
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-24 4c09e3a: Backport: correct old fix for GTK font selection |
Date: |
Wed, 21 Jan 2015 06:06:03 +0000 |
branch: emacs-24
commit 4c09e3aef9a366ffebd314d01f666e04bd7798e2
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Backport: correct old fix for GTK font selection
* gtkutil.c (xg_get_font): Fix off-by-2 typo.
Fixes: bug#3228
---
src/ChangeLog | 6 ++++++
src/gtkutil.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index 709fd50..fcbc7dc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-21 Paul Eggert <address@hidden>
+
+ Backport: correct old fix for GTK font selection
+ * gtkutil.c (xg_get_font): Fix off-by-2 typo.
+ Fixes: bug#3228
+
2015-01-21 Jan Djärv <address@hidden>
* nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt (Bug#19531).
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 5c9ff9c..b23d84c 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -2103,7 +2103,7 @@ xg_get_font (struct frame *f, const char *default_name)
args[8] = QCtype;
args[9] = Qxft;
- font = Ffont_spec (8, args);
+ font = Ffont_spec (10, args);
pango_font_description_free (desc);
dupstring (&x_last_font_name, name);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 4c09e3a: Backport: correct old fix for GTK font selection,
Paul Eggert <=