diff options
| author | Joakim Verona | 2010-08-27 12:31:40 +0200 |
|---|---|---|
| committer | Joakim Verona | 2010-08-27 12:31:40 +0200 |
| commit | 3c8f5c42870eda1633d2a8920053899efc4234c3 (patch) | |
| tree | b00ac4f45c9eae05a36d8a4e23b8e46289f13df8 | |
| parent | 362120833bcbbaea94976b6701633e2ed75f6051 (diff) | |
| download | emacs-3c8f5c42870eda1633d2a8920053899efc4234c3.tar.gz emacs-3c8f5c42870eda1633d2a8920053899efc4234c3.zip | |
fixed breakage after merge from trunk
| -rw-r--r-- | src/xdisp.c | 5 | ||||
| -rw-r--r-- | src/xwidget.h | 4 |
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 *); | |||
| 1038 | static int next_element_from_buffer (struct it *); | 1037 | static int next_element_from_buffer (struct it *); |
| 1039 | static int next_element_from_composition (struct it *); | 1038 | static int next_element_from_composition (struct it *); |
| 1040 | static int next_element_from_image (struct it *); | 1039 | static int next_element_from_image (struct it *); |
| 1040 | static int next_element_from_xwidget(struct it *); | ||
| 1041 | static int next_element_from_stretch (struct it *); | 1041 | static int next_element_from_stretch (struct it *); |
| 1042 | static void load_overlay_strings (struct it *, int); | 1042 | static void load_overlay_strings (struct it *, int); |
| 1043 | static int init_from_display_pos (struct it *, struct window *, | 1043 | static 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 (); \ | |||
| 11571 | static void | 11570 | static void |
| 11572 | redisplay_internal (int preserve_echo_area) | 11571 | redisplay_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 @@ | |||
| 1 | void x_draw_xwidget_glyph_string P_ ((struct glyph_string *s)); | 1 | void x_draw_xwidget_glyph_string (struct glyph_string *s); |
| 2 | void syms_of_xwidget (); | 2 | void syms_of_xwidget (); |
| 3 | 3 | ||
| 4 | extern Lisp_Object Qxwidget; | 4 | extern 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; |