[valadoc] gtkdoc: Avoid warnings for undocumented parameters



commit 394e001e16e62427487937356967f2e67a03eefb
Author: Florian Brosch <flo brosch gmail com>
Date:   Thu Feb 7 06:43:31 2013 +0100

    gtkdoc: Avoid warnings for undocumented parameters

 src/doclets/gtkdoc/generator.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/doclets/gtkdoc/generator.vala b/src/doclets/gtkdoc/generator.vala
index 873a592..845167c 100644
--- a/src/doclets/gtkdoc/generator.vala
+++ b/src/doclets/gtkdoc/generator.vala
@@ -1049,6 +1049,9 @@ It is important that your <link linkend=\"GValue\"><type>GValue</type></link> ho
                var annotations = new string[]{};
                var direction = "in";
 
+               // Avoid "Parameter description for * is missing" warnings
+               add_custom_header (param_name, "&nbsp;", null, double.MAX, false);
+
                if (param.is_out) {
                        direction = "out";
                } else if (param.is_ref) {


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