changeset 49325:3aad85888ad2

ChangeLog
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 19 Jan 2003 23:06:15 +0000
parents 7e9c58008eff
children f5372eee5041
files src/gtkutil.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Sun Jan 19 22:55:00 2003 +0000
+++ b/src/gtkutil.c	Sun Jan 19 23:06:15 2003 +0000
@@ -454,7 +454,7 @@
      up in the wrong place as tool bar height has not been taken into account.
      So we cheat a bit by setting a height that is what it will have
      later on when tool bar items are added.  */
-  if (FRAME_TOOLBAR_HEIGHT (f) == 0)
+  if (FRAME_EXTERNAL_TOOL_BAR (f) && FRAME_TOOLBAR_HEIGHT (f) == 0)
     FRAME_TOOLBAR_HEIGHT (f) = 34;
   
   gtk_widget_set_double_buffered (wvbox, FALSE);