26 lines
959 B
Diff
26 lines
959 B
Diff
From a185de0e7716aa2de2bf21de96e6c9af1dca81aa Mon Sep 17 00:00:00 2001
|
|
From: Daniel Kolesa <daniel@octaforge.org>
|
|
Date: Wed, 16 Sep 2020 20:43:07 +0200
|
|
Subject: [PATCH] fix with vala-0.50
|
|
|
|
---
|
|
plugins/outline/Vala/ValaSymbolOutline.vala | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git plugins/outline/Vala/ValaSymbolOutline.vala plugins/outline/Vala/ValaSymbolOutline.vala
|
|
index c8db339..31386a6 100644
|
|
--- plugins/outline/Vala/ValaSymbolOutline.vala
|
|
+++ plugins/outline/Vala/ValaSymbolOutline.vala
|
|
@@ -61,7 +61,7 @@ public class Code.Plugins.ValaSymbolOutline : Object, Code.Plugins.SymbolOutline
|
|
|
|
public void parse_symbols () {
|
|
var context = new Vala.CodeContext ();
|
|
- context.profile = Vala.Profile.GOBJECT;
|
|
+ context.set_target_profile(Vala.Profile.GOBJECT);
|
|
context.add_source_filename (doc.file.get_path ());
|
|
context.report = new Report ();
|
|
if (cancellable != null)
|
|
--
|
|
2.28.0
|
|
|