]> code.delx.au - gnu-emacs/commitdiff
Backport: correct old fix for GTK font selection
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Jan 2015 06:05:31 +0000 (22:05 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Jan 2015 06:05:58 +0000 (22:05 -0800)
* gtkutil.c (xg_get_font): Fix off-by-2 typo.
Fixes: bug#3228
src/ChangeLog
src/gtkutil.c

index 709fd505af7c5273e441eed06694a9d9d28b52af..fcbc7dcc3a9c4fa7569c0ec1a821943ccf07fefa 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <jan.h.d@swipnet.se>
 
         * nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt (Bug#19531).
index 5c9ff9ca68da06c117e3c73ef722a9cd740dd508..b23d84c8b825f638c00bf87cd5b59619ba5992e2 100644 (file)
@@ -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);