summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2021-12-21 23:10:07 -0800
committerChristian Hergert <chergert@redhat.com>2021-12-21 23:31:53 -0800
commitbd95f69dc7cd37aa8b25dbb5ddc04787b24991cf (patch)
treef7c9f176ad4bba9ec6301a730ea43fcd72ff8ddb /testsuite
parent72098a9d5a6ab6ec7519a550dff6219fe031e0c0 (diff)
downloadgtksourceview-bd95f69dc7cd37aa8b25dbb5ddc04787b24991cf.tar.gz
scheme: cleanup naming and caching of current-line state
We try to cache some of this information to make it faster for us to use from various parts of GtkSourceView at runtime. This cleans up the naming so it is significantly less confusing to read foreground vs background.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/test-stylescheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/test-stylescheme.c b/testsuite/test-stylescheme.c
index be7fe443..af433a69 100644
--- a/testsuite/test-stylescheme.c
+++ b/testsuite/test-stylescheme.c
@@ -156,7 +156,7 @@ test_named_color_alpha (TestFixture *fixture,
scheme = gtk_source_style_scheme_manager_get_scheme (fixture->manager, "test");
/* Use these two semi private methods to compare a named color and a normal one */
- res = _gtk_source_style_scheme_get_current_line_color (scheme, &color1);
+ res = _gtk_source_style_scheme_get_current_line_background_color (scheme, &color1);
g_assert_true (res);
res = _gtk_source_style_scheme_get_background_pattern_color (scheme, &color2);