[gtksourceview] testwidget: fix initial value for style scheme



commit 4cb7c4feaffade09f684871254da8c7384f46469
Author: Christian Hergert <chergert redhat com>
Date:   Thu Oct 14 16:52:40 2021 -0700

    testwidget: fix initial value for style scheme

 tests/test-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-widget.c b/tests/test-widget.c
index 9d42650f..0f89d685 100644
--- a/tests/test-widget.c
+++ b/tests/test-widget.c
@@ -1137,7 +1137,7 @@ test_widget_init (TestWidget *self)
                                "style-scheme",
                                self->buffer,
                                "style-scheme",
-                               G_BINDING_SYNC_CREATE);
+                               G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
 
        style_scheme = gtk_source_style_scheme_manager_get_scheme (
                gtk_source_style_scheme_manager_get_default (),


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