aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
-rw-r--r--src/xwidget.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 2333eb75229..efae826755f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -267,7 +267,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
267#include "fontset.h" 267#include "fontset.h"
268#include "blockinput.h" 268#include "blockinput.h"
269 269
270
271#ifdef HAVE_X_WINDOWS 270#ifdef HAVE_X_WINDOWS
272#include "xterm.h" 271#include "xterm.h"
273#endif 272#endif
@@ -1038,6 +1037,7 @@ static int next_element_from_c_string (struct it *);
1038static int next_element_from_buffer (struct it *); 1037static int next_element_from_buffer (struct it *);
1039static int next_element_from_composition (struct it *); 1038static int next_element_from_composition (struct it *);
1040static int next_element_from_image (struct it *); 1039static int next_element_from_image (struct it *);
1040static int next_element_from_xwidget(struct it *);
1041static int next_element_from_stretch (struct it *); 1041static int next_element_from_stretch (struct it *);
1042static void load_overlay_strings (struct it *, int); 1042static void load_overlay_strings (struct it *, int);
1043static int init_from_display_pos (struct it *, struct window *, 1043static int init_from_display_pos (struct it *, struct window *,
@@ -4374,7 +4374,6 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4374 STRINGP (value)); 4374 STRINGP (value));
4375 4375
4376 valid_p = (STRINGP (value) 4376 valid_p = (STRINGP (value)
4377
4378#ifdef HAVE_WINDOW_SYSTEM 4377#ifdef HAVE_WINDOW_SYSTEM
4379 || (FRAME_WINDOW_P (it->f) && valid_image_p (value)) 4378 || (FRAME_WINDOW_P (it->f) && valid_image_p (value))
4380#endif /* not HAVE_WINDOW_SYSTEM */ 4379#endif /* not HAVE_WINDOW_SYSTEM */
@@ -11571,7 +11570,6 @@ do { if (polling_stopped_here) start_polling (); \
11571static void 11570static void
11572redisplay_internal (int preserve_echo_area) 11571redisplay_internal (int preserve_echo_area)
11573{ 11572{
11574
11575 struct window *w = XWINDOW (selected_window); 11573 struct window *w = XWINDOW (selected_window);
11576 struct frame *f; 11574 struct frame *f;
11577 int pause; 11575 int pause;
@@ -21276,6 +21274,7 @@ compute_overhangs_and_x (struct glyph_string *s, int x, int backward_p)
21276 BUILD_STRETCH_GLYPH_STRING (START, END, HEAD, TAIL, \ 21274 BUILD_STRETCH_GLYPH_STRING (START, END, HEAD, TAIL, \
21277 HL, X, LAST_X); \ 21275 HL, X, LAST_X); \
21278 break; \ 21276 break; \
21277 \
21279 case IMAGE_GLYPH: \ 21278 case IMAGE_GLYPH: \
21280 BUILD_IMAGE_GLYPH_STRING (START, END, HEAD, TAIL, \ 21279 BUILD_IMAGE_GLYPH_STRING (START, END, HEAD, TAIL, \
21281 HL, X, LAST_X); \ 21280 HL, X, LAST_X); \
diff --git a/src/xwidget.h b/src/xwidget.h
index acceb720108..ac405fee12f 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -1,4 +1,4 @@
1void x_draw_xwidget_glyph_string P_ ((struct glyph_string *s)); 1void x_draw_xwidget_glyph_string (struct glyph_string *s);
2void syms_of_xwidget (); 2void syms_of_xwidget ();
3 3
4extern Lisp_Object Qxwidget; 4extern Lisp_Object Qxwidget;
@@ -37,7 +37,7 @@ struct xwidget_type
37 37
38 /* Check that SPEC is a valid image specification for the given 38 /* Check that SPEC is a valid image specification for the given
39 image type. Value is non-zero if SPEC is valid. */ 39 image type. Value is non-zero if SPEC is valid. */
40 int (* valid_p) P_ ((Lisp_Object spec)); 40 int (* valid_p) (Lisp_Object spec);
41 41
42 /* Next in list of all supported image types. */ 42 /* Next in list of all supported image types. */
43 struct xwidget_type *next; 43 struct xwidget_type *next;