diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2003-01-19 21:50:03 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 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.tar.bz2 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) /* Allocate/ reallocate matrices of the dummy window used to display the menu bar under X when no X toolkit support is available. */ -#ifndef USE_X_TOOLKIT +#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) { /* Allocate a dummy window if not already done. */ if (NILP (f->menu_bar_window)) @@ -2394,6 +2394,7 @@ adjust_frame_glyphs_for_window_redisplay (f) } #endif /* not USE_X_TOOLKIT */ +#ifndef USE_GTK /* Allocate/ reallocate matrices of the tool bar window. If we don't have a tool bar window yet, make one. */ if (NILP (f->tool_bar_window)) @@ -2411,6 +2412,7 @@ adjust_frame_glyphs_for_window_redisplay (f) XSETFASTINT (w->height, FRAME_TOOL_BAR_LINES (f)); XSETFASTINT (w->width, FRAME_WINDOW_WIDTH (f)); allocate_matrices_for_window_redisplay (w); +#endif } |