[gtk-doc] tests: add a image to the test docs



commit bdc9b2257614a83e5e5df3b0cd7ac4d3de2f8f32
Author: Stefan Kost <ensonic users sf net>
Date:   Thu Jul 16 10:39:47 2009 +0300

    tests: add a image to the test docs

 tests/gobject/docs-tmpl/Makefile.am |    2 +-
 tests/gobject/docs/Makefile.am      |    2 +-
 tests/gobject/src/giface.c          |    6 ++++++
 3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/tests/gobject/docs-tmpl/Makefile.am b/tests/gobject/docs-tmpl/Makefile.am
index a825770..f57ea76 100644
--- a/tests/gobject/docs-tmpl/Makefile.am
+++ b/tests/gobject/docs-tmpl/Makefile.am
@@ -42,7 +42,7 @@ CFILE_GLOB=$(top_srcdir)/tests/gobject/src/*.c
 IGNORE_HFILES=config.h
 
 # Images to copy into HTML directory.
-HTML_IMAGES =
+HTML_IMAGES = $(top_srcdir)/home.png
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
diff --git a/tests/gobject/docs/Makefile.am b/tests/gobject/docs/Makefile.am
index dd86c7d..3660ebe 100644
--- a/tests/gobject/docs/Makefile.am
+++ b/tests/gobject/docs/Makefile.am
@@ -44,7 +44,7 @@ CFILE_GLOB=$(top_srcdir)/tests/gobject/src/*.c
 IGNORE_HFILES=config.h
 
 # Images to copy into HTML directory.
-HTML_IMAGES =
+HTML_IMAGES = $(top_srcdir)/home.png
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
diff --git a/tests/gobject/src/giface.c b/tests/gobject/src/giface.c
index 0ab537b..09d4745 100644
--- a/tests/gobject/src/giface.c
+++ b/tests/gobject/src/giface.c
@@ -7,6 +7,12 @@
  * We can link to the #GtkdocIface:itest property and the #GtkdocIface::itest
  * signal.
  * An instance can be configured using the gtkdoc_iface_configure() function.
+ *
+ * I can haz pictures too!
+ * <mediaobject>
+ *   <imageobject><imagedata fileref="home.png" format="PNG"/></imageobject>
+ *   <caption><para>Home sweet home.</para></caption>
+ * </mediaobject>
  */
 
 #include <glib.h>



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