[valadoc] Hide vala warnings by default
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] Hide vala warnings by default
- Date: Mon, 28 Feb 2011 14:14:10 +0000 (UTC)
commit 91066046fc94746d2ee20bc16c8305da1e82ea1c
Author: Florian Brosch <flo brosch gmail com>
Date: Fri Feb 25 18:03:59 2011 +0100
Hide vala warnings by default
src/libvaladoc/api/tree.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libvaladoc/api/tree.vala b/src/libvaladoc/api/tree.vala
index b8a57d3..e7ab896 100644
--- a/src/libvaladoc/api/tree.vala
+++ b/src/libvaladoc/api/tree.vala
@@ -168,6 +168,12 @@ public class Valadoc.Api.Tree {
this.context.dbus_transformation = !settings.disable_dbus_transformation;
this.context.vapi_directories = settings.vapi_directories;
+ if (settings.verbose) {
+ context.report.enable_warnings = true;
+ } else {
+ context.report.enable_warnings = false;
+ }
+
if (settings.basedir == null) {
context.basedir = realpath (".");
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]