changeset 60839:7a4f7626e4dc

(breakpoint-enabled, breakpoint-disabled): Don't inherit from fringe face (now happens automatically).
author Kim F. Storm <storm@cua.dk>
date Tue, 22 Mar 2005 23:08:57 +0000
parents a30123aa4b4a
children 89a7350a486f
files lisp/progmodes/gdb-ui.el
diffstat 1 files changed, 4 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Tue Mar 22 23:08:41 2005 +0000
+++ b/lisp/progmodes/gdb-ui.el	Tue Mar 22 23:08:57 2005 +0000
@@ -1161,16 +1161,12 @@
        "\x3c\x7e\xff\xff\xff\xff\x7e\x3c"))
 
 (defface breakpoint-enabled
-  ;; On ttys, we don't inherit from the `fringe' face because that
-  ;; doesn't seem to do the right thing in some cases (?), whereas
-  ;; it's required on non-tty displays to get the background right.
   '((((type tty))
      :weight bold
      :foreground "red")
     (t
      :weight bold
-     :foreground "red"
-     :inherit fringe))
+     :foreground "red"))
   "Face for enabled breakpoint icon in fringe."
   :group 'gud)
 ;; compatibility alias for old name
@@ -1179,20 +1175,15 @@
 (defface breakpoint-disabled
   ;; We use different values of grey for different background types,
   ;; so that on low-color displays it will end up as something visible
-  ;; if it has to be approximated.  On ttys, we don't inherit from the
-  ;; `fringe' face because that doesn't seem to do the right thing in
-  ;; some cases (?), whereas it's required on non-tty displays to get
-  ;; the background right.
+  ;; if it has to be approximated.
   '((((type tty)  (background dark))
      :foreground "grey60")
     (((type tty) (background light))
      :foreground "grey40")
     (((background dark))
-     :foreground "grey60"
-     :inherit fringe)
+     :foreground "grey60")
     (((background light))
-     :foreground "grey40"
-     :inherit fringe))
+     :foreground "grey40"))
   "Face for disabled breakpoint icon in fringe."
   :group 'gud)
 ;; compatibility alias for old name