[gtk-doc] mkdb: add 'structfield' as a non-block element



commit 96972ae661ff6da487f5f51fae4a30587eb81335
Author: Stefan Sauer <ensonic users sf net>
Date:   Sat Apr 25 10:25:38 2015 +0200

    mkdb: add 'structfield' as a non-block element
    
    Fixes #732689

 gtkdoc-mkdb.in                      |    1 +
 tests/bugs/docs/tester-sections.txt |    1 +
 tests/bugs/src/tester.c             |   13 +++++++++++++
 tests/bugs/src/tester.h             |    2 ++
 4 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index cc8a36a..72c4dd3 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -395,6 +395,7 @@ my %MD_TEXT_LEVEL_ELEMENTS = ( "literal" => 1,
                                "manvolnum" => 1,
                                "option" => 1,
                                "replaceable" => 1,
+                               "structfield" => 1,
                                "structname" => 1,
                                "title" => 1,
                                "varname" => 1 );
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index 6fd71b5..64f62d1 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -66,6 +66,7 @@ bug_624001e
 bug_711598
 deprecation_notice
 bug_741941
+bug_732689
 gst_play_marshal_BUFFER__BOXED
 <SUBSECTION Standard>
 <SUBSECTION Private>
diff --git a/tests/bugs/src/tester.c b/tests/bugs/src/tester.c
index 0f0d1cc..817b6fc 100644
--- a/tests/bugs/src/tester.c
+++ b/tests/bugs/src/tester.c
@@ -436,3 +436,16 @@ void deprecation_notice(void)
 void bug_741941(void *object, void *par)
 {
 }
+
+/**
+ * bug_732689:
+ * @spec: the string specifying the color.
+ *
+ * Parses a textual specification of a color and fill in the
+ * <structfield>red</structfield>, <structfield>green</structfield>,
+ * and <structfield>blue</structfield> fields of a color.
+ **/
+void
+bug_732689 (const gchar *spec)
+{
+}
\ No newline at end of file
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index 04c5ae4..2b680ae 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -503,6 +503,8 @@ void deprecation_notice(void);
 #endif
 void bug_741941(void *object, void *par) G_GNUC_NONNULL(1) G_GNUC_NONNULL(2);
 
+void bug_732689 (const gchar *spec);
+
 /**
  * BUG_731417_DEPRECATED:
  *


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