diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-03 14:38:21 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-11-03 14:41:16 +0100 |
commit | b083af081c7ecc4bb3f4e9544b30f4abce2560cf (patch) | |
tree | e2cd099f3178924d791bf7f598a771d774aea73d /vapigen | |
parent | 846c5d70f24f14fa57e15687acef69057ce272b6 (diff) | |
download | vala-b083af081c7ecc4bb3f4e9544b30f4abce2560cf.tar.gz |
vala: Drop "explicit" from ValaSourceFile and use "from_commandline"
Diffstat (limited to 'vapigen')
-rw-r--r-- | vapigen/valavapigen.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vapigen/valavapigen.vala b/vapigen/valavapigen.vala index f4ae9a50e..63205499d 100644 --- a/vapigen/valavapigen.vala +++ b/vapigen/valavapigen.vala @@ -132,7 +132,7 @@ class Vala.VAPIGen { foreach (string source in sources) { if (FileUtils.test (source, FileTest.EXISTS)) { var source_file = new SourceFile (context, SourceFileType.PACKAGE, source); - source_file.explicit = true; + source_file.from_commandline = true; context.add_source_file (source_file); } else { Report.error (null, "%s not found".printf (source)); @@ -190,7 +190,7 @@ class Vala.VAPIGen { } } } - if (file.explicit && file.package_name != null) { + if (file.from_commandline && file.package_name != null) { package_names += file.package_name; } } |