[gtk-doc] tests: add test case for an example block in an ordered list



commit 98ad075151511108111d79ebea333f008404dbeb
Author: William Jon McCann <william jon mccann gmail com>
Date:   Thu Jan 30 15:06:02 2014 -0500

    tests: add test case for an example block in an ordered list

 tests/gobject/src/gobject.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/tests/gobject/src/gobject.c b/tests/gobject/src/gobject.c
index 026bd36..6183e63 100644
--- a/tests/gobject/src/gobject.c
+++ b/tests/gobject/src/gobject.c
@@ -64,7 +64,15 @@
  *
  * # Coda #
  *
- * 1. There
+ * 1. This is a code block in a list:
+ *    |[<!-- language="C" -->
+ *    GObject *myobj;
+ *
+ *    myobj = gtkdoc_object_new();
+ *    // do something
+ *    g_object_unref (myobj);
+ *    ]|
+ *
  * 1. Really
  * 1. Is
  *


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