[gnome-text-editor] recoloring: if 0 unused function



commit bd0987680b72214092ea14aba2a5b3b2bb826c8b
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 7 14:39:31 2022 -0800

    recoloring: if 0 unused function

 src/editor-recoloring.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/editor-recoloring.c b/src/editor-recoloring.c
index 1580901..ea1172d 100644
--- a/src/editor-recoloring.c
+++ b/src/editor-recoloring.c
@@ -155,6 +155,7 @@ define_color_mixed (GString       *str,
   g_string_append_printf (str, "@define-color %s mix(%s,%s,%s);\n", name, a_str, b_str, levelstr);
 }
 
+#if 0
 static inline void
 premix_colors (GdkRGBA       *dest,
                const GdkRGBA *fg,
@@ -180,6 +181,7 @@ premix_colors (GdkRGBA       *dest,
       dest->alpha = alpha;
     }
 }
+#endif
 
 gboolean
 _editor_source_style_scheme_is_dark (GtkSourceStyleScheme *scheme)


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