]> git.eshelyaron.com Git - emacs.git/commitdiff
ChangeLog
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 19 Jan 2003 23:06:15 +0000 (23:06 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 19 Jan 2003 23:06:15 +0000 (23:06 +0000)
src/gtkutil.c

index dae56fa52c30b0b132421d70b6261d65d15eb2c0..7ceddef02f654b1887c1ab340221d75344ab597e 100644 (file)
@@ -454,7 +454,7 @@ xg_create_frame_widgets (f)
      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);