[gnome-builder] libide/sourceview: fix style variant detection



commit 50e35f46fb6ba374ed3e5b10f04e529c685ea4fa
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 28 01:38:16 2022 -0700

    libide/sourceview: fix style variant detection

 src/libide/sourceview/ide-source-style-scheme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/sourceview/ide-source-style-scheme.c b/src/libide/sourceview/ide-source-style-scheme.c
index 431e3860a..de66eb409 100644
--- a/src/libide/sourceview/ide-source-style-scheme.c
+++ b/src/libide/sourceview/ide-source-style-scheme.c
@@ -165,6 +165,6 @@ ide_source_style_scheme_get_variant (GtkSourceStyleScheme *scheme,
     return ret;
 
   /* Fallback to what we were provided */
-  return ret;
+  return scheme;
 }
 


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