diff options
| author | Eli Zaretskii | 2013-12-10 19:56:03 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-12-10 19:56:03 +0200 |
| commit | 5bdc6977e3ab4b36646671754098df7e6ab92ad6 (patch) | |
| tree | dc240463c840e49e97c23fb58b9e2b3d4ad1f3f9 /src | |
| parent | a5c9bbb3413d8eea89cb832040a0ef6cd704dcfe (diff) | |
| parent | e8374b3959e3fc809b7834e3b85245928ae83774 (diff) | |
| download | emacs-5bdc6977e3ab4b36646671754098df7e6ab92ad6.tar.gz emacs-5bdc6977e3ab4b36646671754098df7e6ab92ad6.zip | |
Merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 13 | ||||
| -rw-r--r-- | src/font.c | 5 | ||||
| -rw-r--r-- | src/frame.c | 2 | ||||
| -rw-r--r-- | src/lisp.h | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
5 files changed, 22 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0970bf62b52..25271d6f6b8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2013-12-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * xdisp.c (display_tool_bar_line): Don't extend on a previously | ||
| 4 | drawn tool bar items (Bug#16058). | ||
| 5 | * font.c (font_find_for_lface): Ensure SAFE_FREE on return. | ||
| 6 | |||
| 7 | 2013-12-09 Ken Brown <kbrown@cornell.edu> | ||
| 8 | |||
| 9 | * frame.c (get_frame_param): Make extern if HAVE_NTGUI. | ||
| 10 | |||
| 11 | * lisp.h (get_frame_param): Adjust conditions for prototype | ||
| 12 | declaration. | ||
| 13 | |||
| 1 | 2013-12-09 Dmitry Antipov <dmantipov@yandex.ru> | 14 | 2013-12-09 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 15 | ||
| 3 | * gtkutil.c (USE_NEW_GTK_FONT_CHOOSER) [HAVE_FREETYPE]: | 16 | * gtkutil.c (USE_NEW_GTK_FONT_CHOOSER) [HAVE_FREETYPE]: |
diff --git a/src/font.c b/src/font.c index ad604ebe744..fb56b3d3fb3 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -3209,7 +3209,10 @@ font_find_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec, int | |||
| 3209 | val = font_select_entity (f, entities, | 3209 | val = font_select_entity (f, entities, |
| 3210 | attrs, pixel_size, c); | 3210 | attrs, pixel_size, c); |
| 3211 | if (! NILP (val)) | 3211 | if (! NILP (val)) |
| 3212 | return val; | 3212 | { |
| 3213 | SAFE_FREE (); | ||
| 3214 | return val; | ||
| 3215 | } | ||
| 3213 | } | 3216 | } |
| 3214 | } | 3217 | } |
| 3215 | } | 3218 | } |
diff --git a/src/frame.c b/src/frame.c index e13c3768e12..43e549235df 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1929,7 +1929,7 @@ If there is no window system support, this function does nothing. */) | |||
| 1929 | /* Return the value of frame parameter PROP in frame FRAME. */ | 1929 | /* Return the value of frame parameter PROP in frame FRAME. */ |
| 1930 | 1930 | ||
| 1931 | #ifdef HAVE_WINDOW_SYSTEM | 1931 | #ifdef HAVE_WINDOW_SYSTEM |
| 1932 | #if !HAVE_NS && !defined (WINDOWSNT) | 1932 | #if !HAVE_NS && !HAVE_NTGUI |
| 1933 | static | 1933 | static |
| 1934 | #endif | 1934 | #endif |
| 1935 | Lisp_Object | 1935 | Lisp_Object |
diff --git a/src/lisp.h b/src/lisp.h index d8cf6b6960e..c4b36557eac 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4046,7 +4046,7 @@ extern void set_frame_param (struct frame *, Lisp_Object, Lisp_Object); | |||
| 4046 | extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); | 4046 | extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); |
| 4047 | extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); | 4047 | extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); |
| 4048 | extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object); | 4048 | extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object); |
| 4049 | #if HAVE_NS || defined WINDOWSNT | 4049 | #if HAVE_NS || HAVE_NTGUI |
| 4050 | extern Lisp_Object get_frame_param (struct frame *, Lisp_Object); | 4050 | extern Lisp_Object get_frame_param (struct frame *, Lisp_Object); |
| 4051 | #endif | 4051 | #endif |
| 4052 | extern void frames_discard_buffer (Lisp_Object); | 4052 | extern void frames_discard_buffer (Lisp_Object); |
diff --git a/src/xdisp.c b/src/xdisp.c index 530eae3cb9e..6daa9131154 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -11937,7 +11937,9 @@ display_tool_bar_line (struct it *it, int height) | |||
| 11937 | int max_x = it->last_visible_x; | 11937 | int max_x = it->last_visible_x; |
| 11938 | struct glyph *last; | 11938 | struct glyph *last; |
| 11939 | 11939 | ||
| 11940 | prepare_desired_row (row); | 11940 | /* Don't extend on a previously drawn tool bar items (Bug#16058). */ |
| 11941 | clear_glyph_row (row); | ||
| 11942 | row->enabled_p = 1; | ||
| 11941 | row->y = it->current_y; | 11943 | row->y = it->current_y; |
| 11942 | 11944 | ||
| 11943 | /* Note that this isn't made use of if the face hasn't a box, | 11945 | /* Note that this isn't made use of if the face hasn't a box, |