aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-03-27 00:05:52 +0100
committerJoakim Verona2013-03-27 00:05:52 +0100
commit10f659bef0c1df7582b26c9f8b38680771077042 (patch)
tree6cc2cbd8d6b5ced49bcc4a4fe4f14e9c0129cbc0 /src
parent6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8 (diff)
parent15e4ed9c6a6fd9b5cc587a7318e7b82389ca1b56 (diff)
downloademacs-10f659bef0c1df7582b26c9f8b38680771077042.tar.gz
emacs-10f659bef0c1df7582b26c9f8b38680771077042.zip
auto upstream
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog9
-rw-r--r--src/gtkutil.c4
-rw-r--r--src/w32.c10
3 files changed, 17 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ce0455a4981..94eef08b5f8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
12013-03-26 Eli Zaretskii <eliz@gnu.org> 12013-03-26 Eli Zaretskii <eliz@gnu.org>
2 2
3 * w32.c (_REPARSE_DATA_BUFFER): Condition by _MSVC and _W64.
4
52013-03-26 Jan Djärv <jan.h.d@swipnet.se>
6
7 * gtkutil.c (style_changed_cb): Check if frame is live and an
8 X frame (Bug#14038).
9
102013-03-26 Eli Zaretskii <eliz@gnu.org>
11
3 * w32.c (_PROCESS_MEMORY_COUNTERS_EX) [_WIN32_WINNT < 0x0500]: 12 * w32.c (_PROCESS_MEMORY_COUNTERS_EX) [_WIN32_WINNT < 0x0500]:
4 Define only for _WIN32_WINNT less than 0x0500. 13 Define only for _WIN32_WINNT less than 0x0500.
5 (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT) [!_W64]: Don't define for 14 (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT) [!_W64]: Don't define for
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 2bb4305e1d2..595a7427c21 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1094,7 +1094,9 @@ style_changed_cb (GObject *go,
1094 FOR_EACH_FRAME (rest, frame) 1094 FOR_EACH_FRAME (rest, frame)
1095 { 1095 {
1096 FRAME_PTR f = XFRAME (frame); 1096 FRAME_PTR f = XFRAME (frame);
1097 if (FRAME_X_DISPLAY (f) == dpy) 1097 if (FRAME_LIVE_P (f)
1098 && FRAME_X_P (f)
1099 && FRAME_X_DISPLAY (f) == dpy)
1098 { 1100 {
1099 x_set_scroll_bar_default_width (f); 1101 x_set_scroll_bar_default_width (f);
1100 xg_frame_set_char_size (f, FRAME_COLS (f), FRAME_LINES (f)); 1102 xg_frame_set_char_size (f, FRAME_COLS (f), FRAME_LINES (f));
diff --git a/src/w32.c b/src/w32.c
index f3c98bf9596..93a4ce1a8c1 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -130,11 +130,11 @@ typedef struct _PROCESS_MEMORY_COUNTERS_EX {
130#define SDDL_REVISION_1 1 130#define SDDL_REVISION_1 1
131#endif /* SDDL_REVISION_1 */ 131#endif /* SDDL_REVISION_1 */
132 132
133#ifndef MAXIMUM_REPARSE_DATA_BUFFER_SIZE 133#if defined(_MSC_VER) || defined(_W64)
134/* MSVC doesn't provide the definition of REPARSE_DATA_BUFFER and the 134/* MSVC and MinGW64 don't provide the definition of
135 associated macros, except on ntifs.h, which cannot be included 135 REPARSE_DATA_BUFFER and the associated macros, except on ntifs.h,
136 because it triggers conflicts with other Windows API headers. So 136 which cannot be included because it triggers conflicts with other
137 we define it here by hand. */ 137 Windows API headers. So we define it here by hand. */
138 138
139typedef struct _REPARSE_DATA_BUFFER { 139typedef struct _REPARSE_DATA_BUFFER {
140 ULONG ReparseTag; 140 ULONG ReparseTag;