[gnome-text-editor] recoloring: remove some dead code



commit 4d4aa10ddf332ee9eccdcfc77b9544350c7a47bb
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 13 10:54:02 2022 -0800

    recoloring: remove some dead code

 src/editor-recoloring.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/editor-recoloring.c b/src/editor-recoloring.c
index 5a96354..dd1ac80 100644
--- a/src/editor-recoloring.c
+++ b/src/editor-recoloring.c
@@ -247,14 +247,12 @@ _editor_recoloring_generate_css (GtkSourceStyleScheme *style_scheme)
   get_background (style_scheme, "right-margin", &right_margin);
   right_margin.alpha = 1;
 
-  premix_colors (&color, &text_bg, &right_margin, TRUE, 1.0);
   if (is_dark)
     define_color_mixed (str, "window_bg_color", &text_bg, alt, .025);
   else
     define_color_mixed (str, "window_bg_color", &text_bg, &white, .1);
   define_color_mixed (str, "window_fg_color", &text_fg, alt, .1);
 
-  premix_colors (&color, &text_bg, &text_fg, TRUE, 1.0);
   if (is_dark)
     define_color_mixed (str, "headerbar_bg_color", &text_bg, alt, .05);
   else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]