diff options
| author | Jan Djärv | 2003-01-19 21:50:03 +0000 |
|---|---|---|
| committer | Jan Djärv | 2003-01-19 21:50:03 +0000 |
| commit | 488dd4c404eba70d48e4ee70141b8abcce2f863b (patch) | |
| tree | 741ec2bb5abe963b292521e3a478e716a4ebb999 /src/dispnew.c | |
| parent | 3c77dc44b8052a9bcb19486a605a861cf120b31e (diff) | |
| download | emacs-488dd4c404eba70d48e4ee70141b8abcce2f863b.tar.gz emacs-488dd4c404eba70d48e4ee70141b8abcce2f863b.zip | |
GTK version
Diffstat (limited to 'src/dispnew.c')
| -rw-r--r-- | src/dispnew.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 1d9ae986a37..4ea59834762 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -2371,7 +2371,7 @@ adjust_frame_glyphs_for_window_redisplay (f) | |||
| 2371 | 2371 | ||
| 2372 | /* Allocate/ reallocate matrices of the dummy window used to display | 2372 | /* Allocate/ reallocate matrices of the dummy window used to display |
| 2373 | the menu bar under X when no X toolkit support is available. */ | 2373 | the menu bar under X when no X toolkit support is available. */ |
| 2374 | #ifndef USE_X_TOOLKIT | 2374 | #if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) |
| 2375 | { | 2375 | { |
| 2376 | /* Allocate a dummy window if not already done. */ | 2376 | /* Allocate a dummy window if not already done. */ |
| 2377 | if (NILP (f->menu_bar_window)) | 2377 | if (NILP (f->menu_bar_window)) |
| @@ -2394,6 +2394,7 @@ adjust_frame_glyphs_for_window_redisplay (f) | |||
| 2394 | } | 2394 | } |
| 2395 | #endif /* not USE_X_TOOLKIT */ | 2395 | #endif /* not USE_X_TOOLKIT */ |
| 2396 | 2396 | ||
| 2397 | #ifndef USE_GTK | ||
| 2397 | /* Allocate/ reallocate matrices of the tool bar window. If we | 2398 | /* Allocate/ reallocate matrices of the tool bar window. If we |
| 2398 | don't have a tool bar window yet, make one. */ | 2399 | don't have a tool bar window yet, make one. */ |
| 2399 | if (NILP (f->tool_bar_window)) | 2400 | if (NILP (f->tool_bar_window)) |
| @@ -2411,6 +2412,7 @@ adjust_frame_glyphs_for_window_redisplay (f) | |||
| 2411 | XSETFASTINT (w->height, FRAME_TOOL_BAR_LINES (f)); | 2412 | XSETFASTINT (w->height, FRAME_TOOL_BAR_LINES (f)); |
| 2412 | XSETFASTINT (w->width, FRAME_WINDOW_WIDTH (f)); | 2413 | XSETFASTINT (w->width, FRAME_WINDOW_WIDTH (f)); |
| 2413 | allocate_matrices_for_window_redisplay (w); | 2414 | allocate_matrices_for_window_redisplay (w); |
| 2415 | #endif | ||
| 2414 | } | 2416 | } |
| 2415 | 2417 | ||
| 2416 | 2418 | ||