diff options
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c index d0c77149ba8..192ef4244fb 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -798,7 +798,8 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit, | |||
| 798 | static struct frame * | 798 | static struct frame * |
| 799 | allocate_frame (void) | 799 | allocate_frame (void) |
| 800 | { | 800 | { |
| 801 | return ALLOCATE_ZEROED_PSEUDOVECTOR (struct frame, face_cache, PVEC_FRAME); | 801 | return ALLOCATE_ZEROED_PSEUDOVECTOR (struct frame, tool_bar_items, |
| 802 | PVEC_FRAME); | ||
| 802 | } | 803 | } |
| 803 | 804 | ||
| 804 | struct frame * | 805 | struct frame * |
| @@ -5662,8 +5663,8 @@ selected frame. This is useful when `make-pointer-invisible' is set. */) | |||
| 5662 | 5663 | ||
| 5663 | #ifdef HAVE_WINDOW_SYSTEM | 5664 | #ifdef HAVE_WINDOW_SYSTEM |
| 5664 | 5665 | ||
| 5665 | # if (defined HAVE_NS \ | 5666 | # if (defined USE_GTK || defined HAVE_NS || defined HAVE_XINERAMA \ |
| 5666 | || (!defined USE_GTK && (defined HAVE_XINERAMA || defined HAVE_XRANDR))) | 5667 | || defined HAVE_XRANDR) |
| 5667 | void | 5668 | void |
| 5668 | free_monitors (struct MonitorInfo *monitors, int n_monitors) | 5669 | free_monitors (struct MonitorInfo *monitors, int n_monitors) |
| 5669 | { | 5670 | { |