aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2013-08-27 06:36:29 +0200
committerJoakim Verona2013-08-27 06:36:29 +0200
commitd5ac6cccbe97aabd7b8d324aaae3716eb9853cb1 (patch)
treee64deeb8c1e7001cab68753aa3bf0358c6340748
parent9d1c69140689c3efe53e50b01fe5d7f1d020277e (diff)
parentd350e350eaf4872d123e0ab873c4a095099013c9 (diff)
downloademacs-d5ac6cccbe97aabd7b8d324aaae3716eb9853cb1.tar.gz
emacs-d5ac6cccbe97aabd7b8d324aaae3716eb9853cb1.zip
merge from trunk
-rw-r--r--src/ChangeLog10
-rw-r--r--src/gtkutil.c3
-rw-r--r--src/image.c1
-rw-r--r--src/nsterm.h2
-rw-r--r--src/xterm.h5
5 files changed, 12 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5633d95cbf2..59bf6b420c6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,15 @@
12013-08-27 Dmitry Antipov <dmantipov@yandex.ru> 12013-08-27 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 * xterm.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE:)
4 * nsterm.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE):
5 Remove the leftovers.
6 * gtkutil.c (toplevel): Do not declare Qxft but include
7 font.h to do so.
8 * image.c (toplevel): Do not declare Vlibrary_cache because
9 it's already done in lisp.h.
10
112013-08-27 Dmitry Antipov <dmantipov@yandex.ru>
12
3 * lisp.h (Mouse_HLInfo): Move from here... 13 * lisp.h (Mouse_HLInfo): Move from here...
4 * dispextern.h (Mouse_HLInfo): ...to here and offload lisp.h. 14 * dispextern.h (Mouse_HLInfo): ...to here and offload lisp.h.
5 (reset_mouse_highlight): New function. 15 (reset_mouse_highlight): New function.
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 0f3f5ba58ba..0de748654eb 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -35,6 +35,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
35#include "keyboard.h" 35#include "keyboard.h"
36#include "charset.h" 36#include "charset.h"
37#include "coding.h" 37#include "coding.h"
38#include "font.h"
39
38#include <gdk/gdkkeysyms.h> 40#include <gdk/gdkkeysyms.h>
39#include "xsettings.h" 41#include "xsettings.h"
40 42
@@ -2050,7 +2052,6 @@ xg_get_file_name (struct frame *f,
2050 2052
2051 2053
2052static char *x_last_font_name; 2054static char *x_last_font_name;
2053extern Lisp_Object Qxft;
2054 2055
2055/* Pop up a GTK font selector and return the name of the font the user 2056/* Pop up a GTK font selector and return the name of the font the user
2056 selects, as a C string. The returned font name follows GTK's own 2057 selects, as a C string. The returned font name follows GTK's own
diff --git a/src/image.c b/src/image.c
index 59347161576..8d9c33de12c 100644
--- a/src/image.c
+++ b/src/image.c
@@ -563,7 +563,6 @@ static void x_emboss (struct frame *, struct image *);
563static void x_build_heuristic_mask (struct frame *, struct image *, 563static void x_build_heuristic_mask (struct frame *, struct image *,
564 Lisp_Object); 564 Lisp_Object);
565#ifdef WINDOWSNT 565#ifdef WINDOWSNT
566extern Lisp_Object Vlibrary_cache;
567#define CACHE_IMAGE_TYPE(type, status) \ 566#define CACHE_IMAGE_TYPE(type, status) \
568 do { Vlibrary_cache = Fcons (Fcons (type, status), Vlibrary_cache); } while (0) 567 do { Vlibrary_cache = Fcons (Fcons (type, status), Vlibrary_cache); } while (0)
569#else 568#else
diff --git a/src/nsterm.h b/src/nsterm.h
index a3174ade07b..4815cc4bb48 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -752,8 +752,6 @@ struct x_output
752 (FRAME_NS_DISPLAY_INFO (f)->smallest_char_width) 752 (FRAME_NS_DISPLAY_INFO (f)->smallest_char_width)
753#define FRAME_SMALLEST_FONT_HEIGHT(f) \ 753#define FRAME_SMALLEST_FONT_HEIGHT(f) \
754 (FRAME_NS_DISPLAY_INFO (f)->smallest_font_height) 754 (FRAME_NS_DISPLAY_INFO (f)->smallest_font_height)
755#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0
756#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0
757#define FRAME_BASELINE_OFFSET(f) ((f)->output_data.ns->baseline_offset) 755#define FRAME_BASELINE_OFFSET(f) ((f)->output_data.ns->baseline_offset)
758#define BLACK_PIX_DEFAULT(f) 0x000000 756#define BLACK_PIX_DEFAULT(f) 0x000000
759#define WHITE_PIX_DEFAULT(f) 0xFFFFFF 757#define WHITE_PIX_DEFAULT(f) 0xFFFFFF
diff --git a/src/xterm.h b/src/xterm.h
index d1a586881b2..723550c57c4 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1078,10 +1078,6 @@ extern Lisp_Object Qx_gtk_map_stock;
1078 1078
1079#define FRAME_X_EMBEDDED_P(f) (FRAME_X_OUTPUT(f)->explicit_parent != 0) 1079#define FRAME_X_EMBEDDED_P(f) (FRAME_X_OUTPUT(f)->explicit_parent != 0)
1080 1080
1081
1082#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0
1083#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0
1084
1085#define STORE_XCHAR2B(chp, b1, b2) \ 1081#define STORE_XCHAR2B(chp, b1, b2) \
1086 ((chp)->byte1 = (b1), (chp)->byte2 = (b2)) 1082 ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
1087 1083
@@ -1091,7 +1087,6 @@ extern Lisp_Object Qx_gtk_map_stock;
1091#define XCHAR2B_BYTE2(chp) \ 1087#define XCHAR2B_BYTE2(chp) \
1092 ((chp)->byte2) 1088 ((chp)->byte2)
1093 1089
1094
1095#define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \ 1090#define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \
1096 ((nr).x = (rx), \ 1091 ((nr).x = (rx), \
1097 (nr).y = (ry), \ 1092 (nr).y = (ry), \