comparison src/toolbar-x.c @ 32:e04119814345 r19-15b99

Import from CVS: tag r19-15b99
author cvs
date Mon, 13 Aug 2007 08:52:56 +0200
parents ec9a17fef872
children 131b0175ea99
comparison
equal deleted inserted replaced
31:b9328a10c56c 32:e04119814345
671 gcv.background = ef->core.background_pixel; 671 gcv.background = ef->core.background_pixel;
672 gcv.graphics_exposures = False; 672 gcv.graphics_exposures = False;
673 FRAME_X_TOOLBAR_BLANK_BACKGROUND_GC (f) = 673 FRAME_X_TOOLBAR_BLANK_BACKGROUND_GC (f) =
674 XtGetGC ((Widget) ef, flags, &gcv); 674 XtGetGC ((Widget) ef, flags, &gcv);
675 675
676 if (ef->emacs_frame.top_toolbar_shadow_pixel == 0) 676 if (ef->emacs_frame.top_toolbar_shadow_pixel ==
677 ef->emacs_frame.bottom_toolbar_shadow_pixel)
677 { 678 {
678 ef->emacs_frame.top_toolbar_shadow_pixel = 679 ef->emacs_frame.top_toolbar_shadow_pixel =
679 ef->emacs_frame.background_toolbar_pixel; 680 ef->emacs_frame.background_toolbar_pixel;
680 }
681 if (ef->emacs_frame.bottom_toolbar_shadow_pixel == 0)
682 {
683 ef->emacs_frame.bottom_toolbar_shadow_pixel = 681 ef->emacs_frame.bottom_toolbar_shadow_pixel =
684 ef->emacs_frame.background_toolbar_pixel; 682 ef->emacs_frame.background_toolbar_pixel;
685 } 683 }
686 684
687 x_generate_shadow_pixels (f, &ef->emacs_frame.top_toolbar_shadow_pixel, 685 x_generate_shadow_pixels (f, &ef->emacs_frame.top_toolbar_shadow_pixel,