]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtkdoc: Avoid warnings for undocumented parameters
authorFlorian Brosch <flo.brosch@gmail.com>
Thu, 7 Feb 2013 05:43:31 +0000 (06:43 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Thu, 7 Feb 2013 05:43:31 +0000 (06:43 +0100)
src/doclets/gtkdoc/generator.vala

index 873a59235ed1b0941cb6373ce0a7c492cab42b75..845167c9621c1dc2dbd7a570089eae255919fcf1 100644 (file)
@@ -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) {