[gnome-builder] vala: simplify a little
- From: Ben Iofel <beniofel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vala: simplify a little
- Date: Thu, 24 Mar 2016 06:41:10 +0000 (UTC)
commit 8e22f976f107eeba1f986a3d59ade21a98e68733
Author: Ben Iofel <iofelben gmail com>
Date: Thu Mar 24 02:35:17 2016 -0400
vala: simplify a little
plugins/vala-pack/ide-vala-index.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-index.vala b/plugins/vala-pack/ide-vala-index.vala
index da8c310..4d9225c 100644
--- a/plugins/vala-pack/ide-vala-index.vala
+++ b/plugins/vala-pack/ide-vala-index.vala
@@ -255,11 +255,9 @@ namespace Ide
foreach (var source_file in this.code_context.get_source_files ()) {
if (source_file.get_nodes ().size == 0) {
+ this.parser.visit_source_file (source_file);
if (source_file is Ide.ValaSourceFile) {
- this.parser.visit_source_file (source_file);
(source_file as Ide.ValaSourceFile).dirty = false;
- } else {
- this.parser.visit_source_file (source_file);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]