aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2013-10-27 09:30:34 +0400
committerDmitry Antipov2013-10-27 09:30:34 +0400
commit0f771d26c8f2c171cbfc9e9ed1183f14787b6ceb (patch)
tree8c22ed2facac02b46cf0ae1141cb0e00d3762cff /src
parent3c640e29b82ea656a982686d0a3da718a2d80261 (diff)
downloademacs-0f771d26c8f2c171cbfc9e9ed1183f14787b6ceb.tar.gz
emacs-0f771d26c8f2c171cbfc9e9ed1183f14787b6ceb.zip
* xftfont.c (struct xftfont_info): Remove set-but-unused
'screen' member. (xftfont_open): Adjust user. (xftfont_get_colors): Remove useless prototype.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/xftfont.c7
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e1c85624573..d6f258ed156 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12013-10-27 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * xftfont.c (struct xftfont_info): Remove set-but-unused
4 'screen' member.
5 (xftfont_open): Adjust user.
6 (xftfont_get_colors): Remove useless prototype.
7
12013-10-26 Eli Zaretskii <eliz@gnu.org> 82013-10-26 Eli Zaretskii <eliz@gnu.org>
2 9
3 * emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments 10 * emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments
diff --git a/src/xftfont.c b/src/xftfont.c
index 1e03dd320fe..37b33b3ead8 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -58,7 +58,6 @@ struct xftfont_info
58 int index; 58 int index;
59 FT_Matrix matrix; 59 FT_Matrix matrix;
60 Display *display; 60 Display *display;
61 int screen;
62 XftFont *xftfont; 61 XftFont *xftfont;
63}; 62};
64 63
@@ -70,11 +69,6 @@ struct xftface_info
70 XftColor xft_bg; /* color for face->background */ 69 XftColor xft_bg; /* color for face->background */
71}; 70};
72 71
73static void xftfont_get_colors (struct frame *, struct face *, GC gc,
74 struct xftface_info *,
75 XftColor *fg, XftColor *bg);
76
77
78/* Setup foreground and background colors of GC into FG and BG. If 72/* Setup foreground and background colors of GC into FG and BG. If
79 XFTFACE_INFO is not NULL, reuse the colors in it if possible. BG 73 XFTFACE_INFO is not NULL, reuse the colors in it if possible. BG
80 may be NULL. */ 74 may be NULL. */
@@ -377,7 +371,6 @@ xftfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
377 371
378 xftfont_info = (struct xftfont_info *) font; 372 xftfont_info = (struct xftfont_info *) font;
379 xftfont_info->display = display; 373 xftfont_info->display = display;
380 xftfont_info->screen = FRAME_X_SCREEN_NUMBER (f);
381 xftfont_info->xftfont = xftfont; 374 xftfont_info->xftfont = xftfont;
382 /* This means that there's no need of transformation. */ 375 /* This means that there's no need of transformation. */
383 xftfont_info->matrix.xx = 0; 376 xftfont_info->matrix.xx = 0;