[gtksourceview] stylescheme: remove current-line-number CSS
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] stylescheme: remove current-line-number CSS
- Date: Thu, 29 Jul 2021 17:10:47 +0000 (UTC)
commit fccee8c52d4a7c23114f3035a53fc3c0568d4072
Author: Christian Hergert <chergert redhat com>
Date: Thu Jul 29 10:10:18 2021 -0700
stylescheme: remove current-line-number CSS
This isn't needed anymore now that the color is drawn without using CSS
(to avoid style changes during rendering).
gtksourceview/gtksourcestylescheme.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 31545765..834521af 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -931,13 +931,6 @@ generate_css_style (GtkSourceStyleScheme *scheme)
append_css_style (final_style, style, "textview border gutter");
}
- style = gtk_source_style_scheme_get_style (scheme, STYLE_CURRENT_LINE_NUMBER);
- if (style != NULL)
- {
- append_css_style (final_style, style, "textview gutter.current-line-number");
- append_css_style (final_style, style, "textview gutterrenderer.current-line-number");
- }
-
apply_css_style_cursors (scheme, final_style);
if (*final_style->str != '\0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]